RobbieC
Active Member
- Joined
- Dec 14, 2016
- Messages
- 376
- Office Version
- 2010
- Platform
- Windows
Hi there, I have a bit of code that I have just noticed isn't working properly
I've looked into it and it fails to pick up the last row if they have numeric values. If the last row has letters in the cells, it picks it up fine...
Why would this not work when the values are just numbers?
If you can point me in the right direction, I'd be very grateful
Thanks
Code:
Dim getLastDescriptionRow As Long
getLastDescriptionRow = Sheets(SheetName).Range("BA17:BF54").Find("*", , xlValues, , xlByRows, xlPrevious).Row
I've looked into it and it fails to pick up the last row if they have numeric values. If the last row has letters in the cells, it picks it up fine...
Why would this not work when the values are just numbers?
If you can point me in the right direction, I'd be very grateful
Thanks