N
Neil Humphries
I have some macros in a Word document that I want to remove before the
document is circulated to avoid the recipients running the macros again. Due
to local network policy, the macros must be in the document and not in
Normal.doc.
A programming reference says the following code will work for Excel:
With ActiveWorkbook.VBProject
.VBComponents.Remove .VBComponents ("RFP_Macros")
End With
I can't get it to work in Word after changing ActiveWorkbook to
ActiveDocument.
Any suggestions?
document is circulated to avoid the recipients running the macros again. Due
to local network policy, the macros must be in the document and not in
Normal.doc.
A programming reference says the following code will work for Excel:
With ActiveWorkbook.VBProject
.VBComponents.Remove .VBComponents ("RFP_Macros")
End With
I can't get it to work in Word after changing ActiveWorkbook to
ActiveDocument.
Any suggestions?