ActiveWorkbook.Close

M

Matthew

Can the ActiveWorkbook.Close event be modified so that the Save dialogue
box comes up?
Thanks in advance.

Matthew Saxon
 
M

Matthew

Matthew said:
Can the ActiveWorkbook.Close event be modified so that the Save dialogue
box comes up?
Thanks in advance.

Matthew Saxon
Sorry, so that the Save dialogue box does NOT come up...
 
J

John Wilson

Matthew,

Two ways......
Application.DisplayAlerts = False
(turns off the alert)
or
ThisWorkbook.Saved = True
(fools the workbook into "thinking" that it's saved whether it is or
not).

Use just prior to your Activeworkbook.Close

John
 
R

Ron de Bruin

You only get the save Dialog if the file is not saved yet.

Do you mean Save as???
 
M

Muusbreath

No, I already did a save as text file, but when I close the file it asks to
save again for some reason.

MS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top