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

eliminating a message box??? thanks

Status
Not open for further replies.

q4s72534

MIS
Aug 19, 2003
59
US
I’m getting a message box that says “do you want to replace an existing file?” when I save an active worksheet using vb script.

ActiveWorkbook.Save

How can I eliminate that message box question?? thanks
 
Hey there G.

How about trying the Application.DisplayAlerts=False?

Just a thought.

For just $19.95 you too can have a beautiful smile.
 
Hi,

Not sure which version of excel you are using, but if you are using excel 97 you will need to turn it back on again...

Code:
 Application.DisplayAlerts = true

Regards,

Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top