ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   HOW DO I PROTECT VALUES WHEN CREATING CLEAR CONTENTS MACRO? (https://www.excelbanter.com/excel-discussion-misc-queries/72741-how-do-i-protect-values-when-creating-clear-contents-macro.html)

the holster

HOW DO I PROTECT VALUES WHEN CREATING CLEAR CONTENTS MACRO?
 
I have successfully created a 'Clear Contents' button for a worksheet, so
that a new form can be started from scratch. However, I need to keep the
running balance from the previous week on the new sheet. If I clear the
entries, the running balance will also change. What formula can I use so as
to duplicate the true running balance total to the new sheet?

Jim Rech

HOW DO I PROTECT VALUES WHEN CREATING CLEAR CONTENTS MACRO?
 
There is no formula that can reference amounts that are no longer in the
workbook. Your clearing macro should append amounts you don't want to lose
to a list elsewhere in the sheet.

--
Jim
"the holster" <the wrote in message
...
|I have successfully created a 'Clear Contents' button for a worksheet, so
| that a new form can be started from scratch. However, I need to keep the
| running balance from the previous week on the new sheet. If I clear the
| entries, the running balance will also change. What formula can I use so
as
| to duplicate the true running balance total to the new sheet?




All times are GMT +1. The time now is 01:42 PM.

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