- Joined
- Feb 27, 2012
- Messages
- 1
- Reaction score
- 0
Hi,
I am running the delete method in ms word 2010 macros. I didn't put any protection password for this project. but when I run the below method am getting the error Error(50289):can't perform the operation since project is protected.
Set vbCom = Application.VBE.ActiveVBProject.VBComponents
vbCom.Remove VBComponent:=vbCom.Item("NewMacros")
please tell me the solution for this
I am running the delete method in ms word 2010 macros. I didn't put any protection password for this project. but when I run the below method am getting the error Error(50289):can't perform the operation since project is protected.
Set vbCom = Application.VBE.ActiveVBProject.VBComponents
vbCom.Remove VBComponent:=vbCom.Item("NewMacros")
please tell me the solution for this
Last edited: