Save changes to a specific sheet only.

NewGuy321

New Member
Joined
Nov 4, 2004
Messages
27
I was wondering if it was possible to only save the changes made to a certain sheet and not save all other changes to the workbook. So if the user moves some objects in sheet 1 and adds some text in sheet 3 the added text in sheet 3 will be saved but the new position of the objects will not. Anyone have any ideas.
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
One possible way would be to copy sheet 3 to a different Workbook and save that.

For instance, on the Workbook.BeforeSave event, you could have some code that copies sheet3 to a new workbook and saves it in a certain place, and then cancels the save event. On the Workbook.Open event you could have code which opens the other workbook and copies the contents into sheet3.

If you just have simple text on sheet3, you could alternatively write the contents to a text file whenever sheet3 is deactivated, and read the information in from the same text file each time it is activated. this is surprisingly fast as long as you are not reading in War and Peace!
 
Upvote 0
Well thats not what I was really looking for. Customer details are typed in one sheet and the a macro copies and pastes them into a customer database in another sheet. I wanted the customer database to be saved so the newly added customer details are saved. But the changes made elsewhere in the workbook are not.
 
Upvote 0
Sorry, I don't know of any way to save only one sheet. Could the macro that is copying the information to your database sheet reset all other information before the save?
 
Upvote 0

Forum statistics

Threads
1,203,501
Messages
6,055,764
Members
444,821
Latest member
Shameer

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