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

¤u§@ªí¤£³Q§R°£

¦^´_ 1# sping
thisworkbook¼Ò²Õ
  1. Private Sub Workbook_WindowActivate(ByVal Wn As Window)
  2.    Dim sk As Office.CommandBarControl
  3.     For Each sk In Application.CommandBars.FindControls(ID:=847)
  4.         sk.Enabled = False
  5.     Next sk

  6. End Sub

  7. Private Sub Workbook_WindowDeactivate(ByVal Wn As Window)
  8.    Dim sk As Office.CommandBarControl
  9.     For Each sk In Application.CommandBars.FindControls(ID:=847)
  10.         sk.Enabled = True
  11.     Next sk

  12. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

        ÀR«ä¦Û¦b : ¡i®É¤é²öªÅ¹L¡j¤@­Ó¤H¦b¥@¶¡°µ¤F¦h¤Ö¨Æ¡A´Nµ¥©ó¹Ø©R¦³¦hªø¡C¦]¦¹¥²¶·»P®É¶¡Ävª§¡A¤Á²ö¨Ï®É¤éªÅ¹L¡C
ªð¦^¦Cªí ¤W¤@¥DÃD