R
RB Smissaert
Is there a way to get all the HelpContextID's or Tags of all the userforms
in a project?
I can get all the names of all the forms, but sofar no success to get the
HelpContextID's or Tags.
Sub test()
Dim oVBProj As VBProject
Dim oVBComp As VBComponent
Set oVBProj = ThisWorkbook.VBProject
On Error Resume Next
For Each oVBComp In oVBProj.VBComponents
If oVBComp.Type = 3 Then
MsgBox oVBComp.Name
End If
Next
End Sub
Thanks for any advice.
RBS
in a project?
I can get all the names of all the forms, but sofar no success to get the
HelpContextID's or Tags.
Sub test()
Dim oVBProj As VBProject
Dim oVBComp As VBComponent
Set oVBProj = ThisWorkbook.VBProject
On Error Resume Next
For Each oVBComp In oVBProj.VBComponents
If oVBComp.Type = 3 Then
MsgBox oVBComp.Name
End If
Next
End Sub
Thanks for any advice.
RBS