- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
![2017 Âû¦~¥þ¶Ô¼ú³¹ 2017 Âû¦~¥þ¶Ô¼ú³¹](images/common/ji.gif) ![2016µU¦~¥þ¶Ô¼ú³¹ 2016µU¦~¥þ¶Ô¼ú³¹](images/common/hou.gif) ![2015¦Ï¦~¥þ¶Ô¼ú³¹ 2015¦Ï¦~¥þ¶Ô¼ú³¹](images/common/yang.gif) ![2014°¨¦~¥þ¶Ô¼ú³¹ 2014°¨¦~¥þ¶Ô¼ú³¹](images/common/ma.gif) ![2013³D¦~¥þ¶Ô¼ú³¹ 2013³D¦~¥þ¶Ô¼ú³¹](images/common/she.gif) ![2012Às¦~¥þ¶Ô¼ú³¹ 2012Às¦~¥þ¶Ô¼ú³¹](images/common/long.gif) ![½×¾Â°^Äm¾±³¹ ½×¾Â°^Äm¾±³¹](images/common/medal5.gif) ![¼ö¯P°Ñ»P¾±³¹ ¼ö¯P°Ñ»P¾±³¹](images/common/medal7.gif) ![2011¨ß¦~¥þ¶Ô¼ú³¹ 2011¨ß¦~¥þ¶Ô¼ú³¹](images/common/tu.gif)
|
¥»©«³Ì«á¥Ñ GBKEE ©ó 2018-4-10 09:39 ½s¿è
¦^´_ 5# PKKO
2010 ª©- Option Explicit
- Sub Ex()
- Dim i, ii, x, e
- For i = 1 To Application.CommandBars.Count
- If Application.CommandBars(i).Type = msoBarTypePopup Then
- x = x + 1
- Cells(x, 1) = Application.CommandBars(i).Name
- Cells(x, 2) = Application.CommandBars(i).NameLocal
- Cells(x, 3) = Application.CommandBars(i).ID
- ii = 1
- For Each e In Application.CommandBars(i).Controls
- If InStr(e.Caption, "§R°£(&D)...") Then
- Cells(x, ii + 3) = e.Caption
- Cells(x, ii + 4) = e.ID
- End If
- Next
- End If
- Next
- End Sub
- Sub Ex1()
- Dim Bar As CommandBarControls, xId As Integer, A As Variant
- xId = 292 '293,294 ¬Ý¬Ý¬Oþ¤@Óid
- Application.CommandBars.FindControls(ID:=xId).Item(1).Enabled = False
- Set Bar = Application.CommandBars.FindControls(ID:=xId)
- '************************À³ÃÒ EXµ{¦¡ Id = 292,293,294 §ä¨ìªº "§R°£(&D)..."
- For Each A In Application.CommandBars.FindControls(ID:=xId)
- Debug.Print A.Caption, A.ID
- Next
- '*********************
- Stop '¬Ý¬O§_¤w°±¤î¨Ï¥Î
- Application.CommandBars.FindControls(ID:=xId).Item(1).Enabled = True '«ì´_¨Ï¥Î
- End Sub
- Sub Exe()
- Application.CommandBars("CELL").Reset
- End Sub
½Æ»s¥N½X |
|