From: Bean Counter on
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!!!!
From: Don Guillett on
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
dguillett(a)gmail.com
"Bean Counter" <BeanCounter(a)discussions.microsoft.com> wrote in message
news:FA45872E-E665-40C2-95FF-F6D46034ADEF(a)microsoft.com...
> 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!!!!

From: Bean Counter on
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
> dguillett(a)gmail.com
> "Bean Counter" <BeanCounter(a)discussions.microsoft.com> wrote in message
> news:FA45872E-E665-40C2-95FF-F6D46034ADEF(a)microsoft.com...
> > 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!!!!
>
> .
>
From: Don Guillett on
Didn't get it. Did you send to dguillett(a)gmail.com

--
Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett(a)gmail.com
"Bean Counter" <BeanCounter(a)discussions.microsoft.com> wrote in message
news:CE84CAFB-FB3E-46BB-9542-FC9B21704F71(a)microsoft.com...
> 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
>> dguillett(a)gmail.com
>> "Bean Counter" <BeanCounter(a)discussions.microsoft.com> wrote in message
>> news:FA45872E-E665-40C2-95FF-F6D46034ADEF(a)microsoft.com...
>> > 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!!!!
>>
>> .
>>

From: Bean Counter on
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 dguillett(a)gmail.com
>
> --
> Don Guillett
> Microsoft MVP Excel
> SalesAid Software
> dguillett(a)gmail.com
> "Bean Counter" <BeanCounter(a)discussions.microsoft.com> wrote in message
> news:CE84CAFB-FB3E-46BB-9542-FC9B21704F71(a)microsoft.com...
> > 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
> >> dguillett(a)gmail.com
> >> "Bean Counter" <BeanCounter(a)discussions.microsoft.com> wrote in message
> >> news:FA45872E-E665-40C2-95FF-F6D46034ADEF(a)microsoft.com...
> >> > 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!!!!
> >>
> >> .
> >>
>
> .
>