B
Bean Counter
Goodmorning Everyone!
I have a worksheet within a workbook that contains 1500 rows of data over 14
columns (the 12 months, plus to summary columns) - called the "Year to Date"
sheet. The YTD sheet has links to other worksheets within the same workbook.
This workbook is used as a roll forward workbook. The YTD sheet does not
change, but all other worksheets in the workbook get updated with the current
months data. In preparing for a new month, I have written a macro that
cleans up a lot of the data from the last month. The problem is that I want
the YTD worksheet formulas to remain as constant as possible. One thought
that comes to mind is to copy/paste special values only in the cells that
link to other worksheets - not all of the formulas - only those linked to
other worksheets. The only issue is that it would be too time consuming to
do this on a cell by cell basis. Another problem is that I would want to
only update the column for the current month with the values only, and leave
the formulas in the other months columns... SOOO, a macro is definitely
needed...
how would I write a macro that does the following..
If cell B4(the current month ending date) = (a value in row 6 - the one that
corresponds to the current month end date), then select the whole column that
the value appears in. Search each cell and find all linked formulas. Paste
special, values only in those cells.
I have a worksheet within a workbook that contains 1500 rows of data over 14
columns (the 12 months, plus to summary columns) - called the "Year to Date"
sheet. The YTD sheet has links to other worksheets within the same workbook.
This workbook is used as a roll forward workbook. The YTD sheet does not
change, but all other worksheets in the workbook get updated with the current
months data. In preparing for a new month, I have written a macro that
cleans up a lot of the data from the last month. The problem is that I want
the YTD worksheet formulas to remain as constant as possible. One thought
that comes to mind is to copy/paste special values only in the cells that
link to other worksheets - not all of the formulas - only those linked to
other worksheets. The only issue is that it would be too time consuming to
do this on a cell by cell basis. Another problem is that I would want to
only update the column for the current month with the values only, and leave
the formulas in the other months columns... SOOO, a macro is definitely
needed...
how would I write a macro that does the following..
If cell B4(the current month ending date) = (a value in row 6 - the one that
corresponds to the current month end date), then select the whole column that
the value appears in. Search each cell and find all linked formulas. Paste
special, values only in those cells.