M
mikey may
I have a spreadsheet, File1, that a macro opens and pulls
data to populate another file, MasterFile1, then closes
down File1 and opens File2, etc......
Upon closing File1, how do I get excel to automatically
save or not save? e.g.
when File1 is opened if Condition1 is met then the data is
pulled into MasterFile1 and then cleared from File1.
File1 is then closed and excel produces a message box
asking if I want to save.
How do I get Excel to automatically choose 'Yes'?
If Condition1 is not met then the file is just closed
down, but Excel still asks if I want to save. In this
instance I don't want to save File1.
data to populate another file, MasterFile1, then closes
down File1 and opens File2, etc......
Upon closing File1, how do I get excel to automatically
save or not save? e.g.
when File1 is opened if Condition1 is met then the data is
pulled into MasterFile1 and then cleared from File1.
File1 is then closed and excel produces a message box
asking if I want to save.
How do I get Excel to automatically choose 'Yes'?
If Condition1 is not met then the file is just closed
down, but Excel still asks if I want to save. In this
instance I don't want to save File1.