ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Reset worksheet (https://www.excelbanter.com/excel-programming/298619-reset-worksheet.html)

gavmer[_10_]

Reset worksheet
 
Hi all,

I was curious to know if there was a way to create a click event tha
willl reset a workbook to its original state (IE: to the book
saved/opened state)

The books name is Quote.

Cheers in advance!!!

--
Message posted from http://www.ExcelForum.com


BrianB

Reset worksheet
 
I suggest Close with savechanges =False.
If you want to immediately re-open then the macro will need to be i
another workbook of course (personal.xls ?)

--
Message posted from http://www.ExcelForum.com


Tom Ogilvy

Reset worksheet
 
If you write the code in the click event to change everything back.

Or, if you run the button from another workbook (perhaps a button on a
menu/commandbar) that closes the subject workbook without saving and reopens
it.

--
Regards,
Tom Ogilvy

"gavmer " wrote in message
...
Hi all,

I was curious to know if there was a way to create a click event that
willl reset a workbook to its original state (IE: to the books
saved/opened state)

The books name is Quote.

Cheers in advance!!!!


---
Message posted from http://www.ExcelForum.com/




gavmer[_12_]

Reset worksheet
 
Thanks guys!

Tom, how would i go about doing this.

Cheers!!

--
Message posted from http://www.ExcelForum.com



All times are GMT +1. The time now is 10:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com