Keeps asking to save.

F

Frank Rizzo

Hello, I've added a small macro to my spreadsheet (e.g. I added a
button, then when the user clicks the button -- some code is kicked off).

So now, I'll open the spreadsheet, Excel will ask me to enable macros
and without making any changes, I'll attempt to close Excel down.
Immediately, Excel pops up a dialog box asking me whether I want to save
changes.

Q1. Why is it asking me to save changes when I haven't made any?
Q2. How can I make it stop?

Regards
 
D

Dave Peterson

Just because a file contains macros isn't enough to make excel think the
workbook has been changed.

If you have an auto_open or Workbook_Open procedure, then that procedure could
be doing something that makes excel think the file changed.

But a more common situation is when the user includes a function that
recalculates automatically--like

AREAS()
CELL()
INDIRECT()
ROWS()
COLUMNS()
NOW()
TODAY()
RAND()
 
G

Guest

Dave:

Thanks for this response. The same question has been asked in this group in
lots of different but similar ways. This is just one of those major though
small irritations that come up when something that should be so simple and
obvious isn't and it's very easy to get angry when your product does
something and the reason is not at all obvious.

Jeff Lynch
 

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