S
steven.cole
Hi,
I have a worksheet (call it "formulas") that has a series of formulas
that work on data from another worksheet ("data 1"). I would like to
write a VBA function that automatically updates all the formulas that
reference the "data 1" worksheet on the "formulas" worksheet, to
reference a new data sheet ("data 2").
"Data 1" and "Data 2" are identical in structure, they just have
slightly different data. Therefore the cell references can remain the
same, it is just the worksheet reference that needs to change.
Please could someone tell me what the best way to do this is?
Thanks in advance,
Steve
I have a worksheet (call it "formulas") that has a series of formulas
that work on data from another worksheet ("data 1"). I would like to
write a VBA function that automatically updates all the formulas that
reference the "data 1" worksheet on the "formulas" worksheet, to
reference a new data sheet ("data 2").
"Data 1" and "Data 2" are identical in structure, they just have
slightly different data. Therefore the cell references can remain the
same, it is just the worksheet reference that needs to change.
Please could someone tell me what the best way to do this is?
Thanks in advance,
Steve