paul_taylor
New Member
- Joined
- Feb 15, 2011
- Messages
- 33
This code works for me
range(cells(variable1,1),cells(10,variable2)). value = 1
This code doesn't work
sheets(1).range(cells(variable1,1),cells(10,variable2)).value = 1
Why not?
The reason I need this is I need to get to
sheets(2).range(cells(variable1,1),cells(10,variable2)) = sheets(1).range(cells(variable1,1),cells(10,variable2)).value
or something like that.
range(cells(variable1,1),cells(10,variable2)). value = 1
This code doesn't work
sheets(1).range(cells(variable1,1),cells(10,variable2)).value = 1
Why not?
The reason I need this is I need to get to
sheets(2).range(cells(variable1,1),cells(10,variable2)) = sheets(1).range(cells(variable1,1),cells(10,variable2)).value
or something like that.