E
ExcelMonkey
I can use the following in VBA:
VBComp As VBIDE.VBComponent
If VBComp.Collection.Parent.Protection = vbext_pp_locked Then
When I try to use this in VB.Net the following does NOT work:
Dim VBComp As Microsoft.Vbe.Interop.VBComponent
If VBComp.Collection.Parent.Protection =
Microsoft.Vbe.Interop.vbext_pp_locked Then
Am I using the right declaratio for VBComp in VB.NET?
Thanks
EM
VBComp As VBIDE.VBComponent
If VBComp.Collection.Parent.Protection = vbext_pp_locked Then
When I try to use this in VB.Net the following does NOT work:
Dim VBComp As Microsoft.Vbe.Interop.VBComponent
If VBComp.Collection.Parent.Protection =
Microsoft.Vbe.Interop.vbext_pp_locked Then
Am I using the right declaratio for VBComp in VB.NET?
Thanks
EM