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

Hiding the Save As Window when using Excel

Status
Not open for further replies.

hatman88

Programmer
Aug 22, 2007
16
US
Hello, I have a macro that writes to an Excel Spreadsheet and then saves it. However, when the spreadsheet is open a Save As window appears when it first wants to save. But after that, it doesn't appear again. Is there a way to make sure that the Save As window doesn't even appear the first time?

P.S. I already know about DisplayAlerts.
 
I already said that I know about DisplayAlerts. It's not problem...
 
DisplayAlerts should take care of the problem you're describing. What is the problem? Post your code.
 
hatman88,

When you're telling the macro to save for the first time, are you specifying a filename? If you have a brand new spreadsheet and just hit the Save button, Excel will bring up the Save As box. Otherwise, how will it know where to save it?

If that isn't the problem, then, well, what WinblowsMe said... you'll have to post your code.

-LB

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top