Hi,
I want to refer to a cell as part of my If..End if condition. I know how to do this if this cell is in the same worksheet. But how do you refer to another worksheet's cell?
Let's say I am working on worksheet 1's cell(1,1) and I want to refer to worksheet 2's cell (1,2)
Sample if statement:
if cell(1,1)=2 and worksheet 2's cell (1,2)=3 then
...
end if
Thanks,
I want to refer to a cell as part of my If..End if condition. I know how to do this if this cell is in the same worksheet. But how do you refer to another worksheet's cell?
Let's say I am working on worksheet 1's cell(1,1) and I want to refer to worksheet 2's cell (1,2)
Sample if statement:
if cell(1,1)=2 and worksheet 2's cell (1,2)=3 then
...
end if
Thanks,