ªð¦^¦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 : ¯à¥I¥X·R¤ß´N¬OºÖ¡A¯à®ø°£·Ð´o´N¬O¼z¡C
ªð¦^¦Cªí ¤W¤@¥DÃD