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

[µo°Ý] °ª¤â½Ð±Ð"ª«¥óÃþ§O¼Ò²Õ"­n¦p¦ó¥Î©O¡H

[µo°Ý] °ª¤â½Ð±Ð"ª«¥óÃþ§O¼Ò²Õ"­n¦p¦ó¥Î©O¡H

½¤F¦n´X¥»®Ñ
ÁÙ¬O§ä¤£¨ìÃö©óª«¥óÃþ§O¼Ò²Õªº ¸ê®Æ
½Ð°ª¤â±Ð¤@¤U
­n¦p¦ó¥Î©O¡H
·P¿E¤£ºÉ

¾Ç¦p°f¤ô¦æ¦à ¤£¶i«h°h

TOP

¦^´_ 1# primary8
ThisWorkbook ªºµ{§Ç
  1. Option Explicit
  2. Dim ThisSh As New Class1
  3. Private Sub Workbook_Open()
  4.     Set ThisSh.Sh = Sheet1
  5. End Sub
½Æ»s¥N½X

ª«¥ó¼Ò²Õ Class1 ªºµ{¦¡½X
  1. Public WithEvents Sh As Worksheet
  2. Private Sub Sh_SelectionChange(ByVal Target As Range)
  3.     MsgBox Sh.Name
  4. End Sub
½Æ»s¥N½X

°õ¦æ¤@¦¸ Workbook_Open µ{§Ç«á¦bSheet1¸Ì²¾°ÊÀx¦s®æ¬Ý¬Ý

TOP

ÁÂÁ¨â¦ìªºÀ°¦£
¤p§Ì¬ã¨s¤F¤@­Ó¤p®É
ÁÙ¬O¨S§ËÀ´
¥ýºÎı¤F
©ú¤Ñ¦A¬ã¨s
ÁÂÁÂ

TOP

        ÀR«ä¦Û¦b : ºÉ¦h¤Ö¥»¥÷¡A´N±o¦h¤Ö¥»¨Æ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD