Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to execute a macro

Status
Not open for further replies.

rfboy

Programmer
May 27, 2005
14
0
0
NL
Hi,

I have written a Word macro in vb script.
The macro is working ok in Word but when I try to execute the macro in vb I get an error message:
"de macro's in dit project zijn uitgeschakeld"( macro's in this project are deactivated)

question: How can I activate the macro's in my project so I cab run the vb script.

operation sytem is Window XP professional with Office XP

greetings,

Teun van Woerden
 
Hi Teun,

In Word, select Tools > Macro > Security and change your security settings - probably to Medium. I think you'll then need to close and re-open Word for it to take effect.

Enjoy,
Tony

--------------------------------------------------------------------------------------------
We want to help you; help us to do it by reading this: Before you ask a question.
Excel VBA Training and more Help at VBAExpress[
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top