Excel Macro programming

K

Kass

I'm just starting to learn VBA.
I'm trying to write a macro that will close an excel
template without saving the sheet. I can make the active
sheet close
(ActiveSheet.Close), but I get the confirmation window
(Yes... No... Cancel) for saving the sheet. I don't want
to save. Anyone know how I can add to my macro to
automatically close the sheet without saving? I tried
ActiveSheet.Close.False and this didn't work.

Also, anyone have any good resources to help me learn VBA?

Thanks!

Kathy
 

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