View Single Post
  #5  
Old June 2nd, 2010, 05:40 PM posted to microsoft.public.excel.misc
Bean Counter[_3_]
external usenet poster
 
Posts: 16
Default Paste Values in linked Cells Only

Sorry, I missed one t in your last name. I resent it just a moment ago.
--
Thanks for all of the help. It is much appreciated!!!!


"Don Guillett" wrote:

Didn't get it. Did you send to

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Bean Counter" wrote in message
...
Hi Don - thanks for the help. The message has been sent to your email
address.
--
Thanks for all of the help. It is much appreciated!!!!


"Don Guillett" wrote:

If desired, send your file to my address below. I will only look
if:
1. You send a copy of this message on an inserted sheet
2. You give me the newsgroup and the subject line
3. You send a clear explanation of what you want
4. You send before/after examples and expected results.


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Bean Counter" wrote in message
...
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.
--
Thanks for all of the help. It is much appreciated!!!!

.


.