alexaronson
Active Member
- Joined
- Sep 30, 2005
- Messages
- 314
Hello and thank you for taking the time to review my question.,
I am trying to calculate the numerical value of the last Column with data in a work sheet from Cell A3 so that I can do some fun stuff to the right of it. I do not need to know the column locations such as A, B, AA, but rather, I need to know how many columns from A the last column resides in.
I know how to find the last row by using the following code:
LastRow = Range("B" & Rows.Count).End(xlUp).Row
However, when I try using the same logic for finding last column, I seem to not be able to return any values.
Any suggestions or advice would be greatly appreciated.
I am trying to calculate the numerical value of the last Column with data in a work sheet from Cell A3 so that I can do some fun stuff to the right of it. I do not need to know the column locations such as A, B, AA, but rather, I need to know how many columns from A the last column resides in.
I know how to find the last row by using the following code:
LastRow = Range("B" & Rows.Count).End(xlUp).Row
However, when I try using the same logic for finding last column, I seem to not be able to return any values.
Any suggestions or advice would be greatly appreciated.