how can i disable the automatic 'do you want to save' pop up in e.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have an excel workbook that recieves its information from Access and I do
not want to save the information, how can I stop the automatic pop up ' do
you want to save this workbook' as my automatic response is to click on the
save now button.
 
Hi Spindrift,

Right-click the Excel icon at the extreme left of the Menu bar | View Code |
paste :

Private Sub Workbook_BeforeClose(Cancel As Boolean)
Me.Saved = True
End Sub
 

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

Back
Top