pingpong777
New Member
- Joined
- Apr 6, 2015
- Messages
- 42
Hi. I'm using this line:
Range("Scen_Active").Offset(0, (1 + Range("Scenario_Destination").Value)).Formula = Range("Scen_Active").Offset(0, (1 + Range("Scenario_Source").Value)).Formula
to copy scenario inputs from one column/scenario (numbered as Scenario_Source) to another (numbered as Scenario_Destination). I'm noticing an inconsistent issue- within this range (Scen_Active), I have a few cells which have formulas with the row anchored (=o$38 * 3; that sort of thing). Sometimes, the column letter remains an absolute reference, without any anchoring (for example, when trying to copy column P to column T, the formulas in column T will end up still referencing column P, even though they're written like (=P$38 * 3), with only the row number anchored.
Any ideas on what is tripping me up?
Thanks,
pingpong777
Range("Scen_Active").Offset(0, (1 + Range("Scenario_Destination").Value)).Formula = Range("Scen_Active").Offset(0, (1 + Range("Scenario_Source").Value)).Formula
to copy scenario inputs from one column/scenario (numbered as Scenario_Source) to another (numbered as Scenario_Destination). I'm noticing an inconsistent issue- within this range (Scen_Active), I have a few cells which have formulas with the row anchored (=o$38 * 3; that sort of thing). Sometimes, the column letter remains an absolute reference, without any anchoring (for example, when trying to copy column P to column T, the formulas in column T will end up still referencing column P, even though they're written like (=P$38 * 3), with only the row number anchored.
Any ideas on what is tripping me up?
Thanks,
pingpong777