AlexanderBB
Well-known Member
- Joined
- Jul 1, 2009
- Messages
- 2,099
- Office Version
- 2019
- 2010
- Platform
- Windows
I found this here
Anything that you can do with a column letter, you can do with a column #.
It's often easier to work with that number anyway.
There is very rarely a need to actually convert a number to column letter.
Other than for visual representation, so you can say to a user/student/boss or something "See, it's in column X"
But Excel doesn't 'need' it.
and applied this logic. But now I'm a bit stuck I have (example) .range("J2")
How is range expressed with numbers only ? Or should I use .cells(2,9) ?
Anything that you can do with a column letter, you can do with a column #.
It's often easier to work with that number anyway.
There is very rarely a need to actually convert a number to column letter.
Other than for visual representation, so you can say to a user/student/boss or something "See, it's in column X"
But Excel doesn't 'need' it.
and applied this logic. But now I'm a bit stuck I have (example) .range("J2")
How is range expressed with numbers only ? Or should I use .cells(2,9) ?