ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] Worksheet_SelectionChangeªº°ÝÃD

¦^´_ 3# yen956
  1. Public BeforeCell As Range
  2. Private Sub Worksheet_SelectionChange(ByVal Target As Range)
  3. If BeforeCell Is Nothing Then Set BeforeCell = ActiveCell
  4. If BeforeCell.Address <> Target.Address Then MsgBox BeforeCell.Address & Chr(10) & BeforeCell(1)
  5. Set BeforeCell = Target(1)
  6. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

        ÀR«ä¦Û¦b : ¯u¥¿ªº·R¤ß¡A¬O·ÓÅU¦n¦Û¤vªº³oÁû¤ß¡C
ªð¦^¦Cªí ¤W¤@¥DÃD