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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is there a way to check if a Word Macro is already running?

Status
Not open for further replies.

GZook

Programmer
Apr 14, 2003
42
US
I've asked this question in the Visual Basic forum, where I was informed to use
Code:
 App.PrevInstance
.

That works fine for VB generated EXEs.

But when I try it in a Word macro, I get the error "Runtime Error 424: Object Required".

What do I need to do?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top