Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Dawnybros
 
Posts: n/a
Default How to add a button to restore all altered cells original values?

I want to add a reset button to an excel spreadsheet that will restore the
values of all changed cells to the original saved ones.

Any help would be appreciated.

Thanks

Dawn
  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
this would require quite some VBA code as you somehow have to store the
original values for example on a separate hidden sheet

--
Regards
Frank Kabel
Frankfurt, Germany

"Dawnybros" schrieb im
Newsbeitrag ...
I want to add a reset button to an excel spreadsheet that will

restore the
values of all changed cells to the original saved ones.

Any help would be appreciated.

Thanks

Dawn


  #3   Report Post  
GregR
 
Posts: n/a
Default

Not sure this is what you want, but this macro will revert the file to the
last saved version.
Sub RevertFile()

wkname = ActiveWorkbook.path & "\" & ActiveWorkbook.Name
ActiveWorkbook.Close savechanges:=False

Workbooks.Open FileName:=wkname

End Sub

Greg
"Frank Kabel" wrote in message
...
Hi
this would require quite some VBA code as you somehow have to store the
original values for example on a separate hidden sheet

--
Regards
Frank Kabel
Frankfurt, Germany

"Dawnybros" schrieb im
Newsbeitrag ...
I want to add a reset button to an excel spreadsheet that will

restore the
values of all changed cells to the original saved ones.

Any help would be appreciated.

Thanks

Dawn




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:58 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"