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

[µo°Ý] ¦bUserForm¤¤¡A³]©w¦h­ÓCommandButtonªºÃC¦â

[µo°Ý] ¦bUserForm¤¤¡A³]©w¦h­ÓCommandButtonªºÃC¦â

¥»©«³Ì«á¥Ñ av8d ©ó 2023-2-20 15:12 ½s¿è
  1. For i = 1 To 10
  2.     ActiveSheet.OLEObjects("CommandButton" & i).Object.BackColor = RGB(0, 0, 0)
  3. Next
½Æ»s¥N½X
¤W­z¬O¦bExcel¦Û­q¦h­Ó«ö¶sÃC¦â°j°é¡A½Ð°Ý¬O§_¥i¥H¹ê²{¦b¨Ï¥ÎUserForm¤¤©O¡HÁÂÁ«e½ú¡A§Ú¤]·|«ùÄò¦bºô¸ô¤¤´M§ä¸Ñµª¡C


§ä¨ì¤èªk¤F¡AÁÂÁ«e½ú­Ì©âªÅ¬d¬Ý¡A¸Ñµª¦p¤U
  1. For i = 1 To 10
  2.     Controls("CommandButton" & i).BackColor = RGB(0, 0, 0)
  3. Next
½Æ»s¥N½X

        ÀR«ä¦Û¦b : ªY½à§O¤H´N¬O²øÄY¦Û¤v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD