Hello to all!
I have 2 sheets, called A and B.
In Sheet B, I have a cell, F2, that contains an IF formula. This formula extracts a value from sheet A.
In sheet B, I also have a range of cells that needs to be populated with formulas based on the resulting value in F2.
I've written the VBA code to auto fill the range with formulas. However, I don't know where to place the code. I've tried to put the code in Worksheet's Change, SelectionChange, Activate methods but nothing works.
Any help will be most welcome.
Thank you.
I have 2 sheets, called A and B.
In Sheet B, I have a cell, F2, that contains an IF formula. This formula extracts a value from sheet A.
In sheet B, I also have a range of cells that needs to be populated with formulas based on the resulting value in F2.
I've written the VBA code to auto fill the range with formulas. However, I don't know where to place the code. I've tried to put the code in Worksheet's Change, SelectionChange, Activate methods but nothing works.
Any help will be most welcome.
Thank you.