VBA revert to saved for multiple users

kazlady

New Member
Joined
May 22, 2009
Messages
6
Hi guys,

Sorry if this has been asked and answered, but I couldn't find it anywhere. I am creating a VBA invoice for my newspaper carriers (I am the manager of the company that delivers them) for when they do each other's papers. I have gotten everything to work so far and I am now programming "clear" and "reset" buttons. I have the "clear button working. I just sets the values of the cells on the active sheet to their original values. I can't seem to find a way to reset the entire book. The problem is if a carrier has already delivered a route on a certain day, the spreadsheet automatically creates a new sheet for the invoice. When the user clicks the "reset" button, I wanted everything to go back to the way it was on the original file. I had thought of trying to open the original file and discard changes, but I won't know the filename on the user's computer so I can't just call the file and open it. Is there any way to either call the file dynamically or find the file on the user's computer? It also has to be compatible with 2003 as a lot of my carriers have very old computers.

Thanks in advance
kazlady:confused:
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Forum statistics

Threads
1,214,975
Messages
6,122,537
Members
449,088
Latest member
RandomExceller01

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top