Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Todd
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Niek Otten
 
Posts: n/a
Default 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" wrote in message
...
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Insert New Row without shifting formula DJ Excel Worksheet Functions 2 September 26th 05 03:31 AM
Formula for current month minus one = Quarter number in a macro. Pank Excel Discussion (Misc queries) 11 June 22nd 05 02:47 PM
Insert Line Macro Spyder Excel Discussion (Misc queries) 1 March 3rd 05 12:17 AM
How do I insert the date using a macro tara0801 Excel Discussion (Misc queries) 4 February 10th 05 09:09 PM


All times are GMT +1. The time now is 11:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"