Thread
:
Macro Error When Sorting
View Single Post
#
2
Posted to microsoft.public.excel.programming
kkknie[_99_]
external usenet poster
Posts: 1
Macro Error When Sorting
Yes. Just test this condition and do whatever you would do if there wa
no data in that column:
If Cells(1, MyColumn).End(xlDown).Row = 65536 Then
'Do something
Else
'Your original code
End I
--
Message posted from
http://www.ExcelForum.com
Reply With Quote
kkknie[_99_]
View Public Profile
Find all posts by kkknie[_99_]