Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi guys,
I need help for a sub which can change existing formulas in col D which refers to a particular sheetname, to an equivalent which uses INDIRECT() reading the same sheetname now placed in D3 instead For example: Need to change existing: =SUM('1'!G33:M33)-'1'!L33 to :=SUM(INDIRECT("'"&D$3&"'"&"!G33:M33"))-INDIRECT("'"&D$3&"'!L33") The sheetname: "1" (without the double quotes) is entered into D3 There's quite a fair bit of cells involved in col D which carries similar formulas to be changed, so automating the formula change would be very useful. (And once the entire col's formulas have been changed, I could just simply fill col D across another 30 or so columns. The sheetnames: "1", "2", "3", etc represent the days of the month) Thanks for insights -- Rgds Max xl 97 --- Please respond in thread xdemechanik <atyahoo<dotcom ---- |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
formulas change when copied | Excel Discussion (Misc queries) | |||
formulas to change font | New Users to Excel | |||
Change Formulas W/VBA | Excel Discussion (Misc queries) | |||
need to change linked formulas | Excel Discussion (Misc queries) | |||
Why does Excel change my formulas? | Excel Discussion (Misc queries) |