Thread
:
Excel VBA - UsedRange problem
View Single Post
#
6
Posted to microsoft.public.excel.programming
Tom Urtis[_2_]
external usenet poster
Posts: 1
Excel VBA - UsedRange problem
UsedRange is unreliable, as is SpecialCells LastCell. Try this:
Dim LR As Long
LR = Cells.Find(What:="*", After:=[A1], SearchOrder:=xlByRows,
SearchDirection:=xlPrevious).Row
MsgBox LR
---
Message posted from
http://www.ExcelForum.com/
Reply With Quote
Tom Urtis[_2_]
View Public Profile
Find all posts by Tom Urtis[_2_]