austin350s10
Active Member
- Joined
- Jul 30, 2010
- Messages
- 321
Why is it when running the following code it returns "B35"? It should return "B32" My only thought it that since the test range only contains one cell with data it jumps down to the next range.
I have used the same code on other ranges that have more than one cell with data and it works fine.
Does anyone know of a work around?
Here is the code:
Here is the sheet in reference:
I have used the same code on other ranges that have more than one cell with data and it works fine.
Does anyone know of a work around?
Here is the code:
Code:
Dim newrange As String
newrange = Range("B32").End(xlDown).Address
MsgBox newrange
Here is the sheet in reference: