VBA/Excel/Access/Word/Application/SmartTag — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 12:46, 26 мая 2010
Show smart tag actions
Sub show_smarttagactions()
Dim i As Integer
Dim st As SmartTag
Dim sta As SmartTagAction
For Each st In ActiveSheet.SmartTags
Debug.Print st.Range.Address, st.Name, st.XML
For i = 1 To st.SmartTagActions.Count
Set sta = st.SmartTagActions(i)
Debug.Print " " + sta.Name
Next
Next st
End Sub
Show smart tag recognizers
Sub show_smarttagrecognizers()
Dim strec As SmartTagRecognizer
For Each strec In Application.SmartTagRecognizers
Debug.Print strec.FullName, strec.Enabled
Next
End Sub