+ Reply to Thread
Results 1 to 2 of 2

macro to insert into a formula

  1. #1
    Todd
    Guest

    macro to insert into a formula

    I need to insert an addition to a formula across a worksheet. The cells
    already contain a simple formula and I want to make the change without going
    into every cell and doing it manually. Can "find/replace" help do this or
    do I need a macro?

    What is
    ='4631-00'!D$71 ='4631-00'!e$71 ='4631-00'!f$71

    should become
    ='4631-00'!D$71*c5 ='4631-00'!f$71*c5 ='4631-00'!f$71 *c5


    +the 4631-00 is a sheet name and every row refers to a different sheet name
    +the insert (*c5) would need to adjust as it goes down the column
    (*c5,*c6,*c7,*c8 etc..)

    Thanks,


    Todd



  2. #2
    Niek Otten
    Guest

    Re: macro to insert into a formula

    Hi Todd,

    If there are no formulas with addresses like a$710, you could find all $71
    and replace with $71*c5. use the Look in Formula option.

    Try this on a copy of your workbook first!

    --
    Kind regards,

    Niek Otten

    "Todd" <[email protected]> wrote in message
    news:[email protected]...
    >I need to insert an addition to a formula across a worksheet. The cells
    > already contain a simple formula and I want to make the change without
    > going
    > into every cell and doing it manually. Can "find/replace" help do this
    > or
    > do I need a macro?
    >
    > What is
    > ='4631-00'!D$71 ='4631-00'!e$71 ='4631-00'!f$71
    >
    > should become
    > ='4631-00'!D$71*c5 ='4631-00'!f$71*c5 ='4631-00'!f$71 *c5
    >
    >
    > +the 4631-00 is a sheet name and every row refers to a different sheet
    > name
    > +the insert (*c5) would need to adjust as it goes down the column
    > (*c5,*c6,*c7,*c8 etc..)
    >
    > Thanks,
    >
    >
    > Todd
    >
    >




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1