
How to list macro names in a combo box or a list box
Hi everyone,
Is there someone who knows how to list macro names in a combo box or a list
box?
For example, with the code below I can list all my style names in a combo
box:
Private Sub UserForm_Initialize()
For Each sty In ActiveDocument.Styles
ComboBox1.AddItem (sty)
Next sty
Next Sub
How to do the same with macro names?
Thank you all in advance.
Edson Furman