LondonVirus
07-14-2010, 04:05 AM
MS Word 2003 VBA
I have a Run-Time Error 50289, while trying to execute the following code:
[vba]
Application.VBE.ActiveVBProject.VBComponents.Remove _
Application.VBE.ActiveVBProject.VBComponents.Item("AutoOpen")
[vba]
The module or any part of the project are not protected, whats the issue?
I cant even run a "DeleteLine" on the module...
I have a Run-Time Error 50289, while trying to execute the following code:
[vba]
Application.VBE.ActiveVBProject.VBComponents.Remove _
Application.VBE.ActiveVBProject.VBComponents.Item("AutoOpen")
[vba]
The module or any part of the project are not protected, whats the issue?
I cant even run a "DeleteLine" on the module...