Hallo,
can we insert or add column without losing codes that is applied to certain column?
For example, in the code:
range ("C1:C500".value = X
then we insert a column between B & C, as a result, the previous column C is moved to the right and becomes column D. I would like the code is still applicable for that column though, not the new column C.
I know the code can be preserved if the range is named. So that it doesn't matter where is the position, it will always be refered as a name.
However, as I will need to loop through different sheets applying the same code for the same columns, exp.
Sheet1!A1
Sheet2!A2, etc, I face another difficulity.
Can anybody please help me with this? Thanks a lot.
can we insert or add column without losing codes that is applied to certain column?
For example, in the code:
range ("C1:C500".value = X
then we insert a column between B & C, as a result, the previous column C is moved to the right and becomes column D. I would like the code is still applicable for that column though, not the new column C.
I know the code can be preserved if the range is named. So that it doesn't matter where is the position, it will always be refered as a name.
However, as I will need to loop through different sheets applying the same code for the same columns, exp.
Sheet1!A1
Sheet2!A2, etc, I face another difficulity.
Can anybody please help me with this? Thanks a lot.