¥»©«³Ì«á¥Ñ av8d ©ó 2023-2-20 15:12 ½s¿è
- For i = 1 To 10
- ActiveSheet.OLEObjects("CommandButton" & i).Object.BackColor = RGB(0, 0, 0)
- Next
½Æ»s¥N½X ¤Wz¬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- For i = 1 To 10
- Controls("CommandButton" & i).BackColor = RGB(0, 0, 0)
- Next
½Æ»s¥N½X |