Hello,
How can I count # of columns between two specific columns such like, how many columns between column A and column D
Thanks so much!
B.regards/Yaping
Visual Basic for Applications (VBA)
Hello,
How can I count # of columns between two specific columns such like, how many columns between column A and column D
Thanks so much!
B.regards/Yaping
The key is to get the column in integer value.
Range("A3").column will give you 1
Range("D321").column will give you 4
the row number doesn't matter.
you can figure out the rest since I don't know how you want to count it specifically.
Ok, thanks.
Is there any way to relax the dependency of idenrifying the columns
B.regards/Yaping