
Range.End
- manster_mg
- Thread is marked as Resolved.
-
-
-
-
Hello,
To be on the safe side ... would recommend two tiny modifications :
lRow = Cells(Rows.Count, 5).End(xlUp).Row ' to use Column E as your reference
Range("E" & lRow).Select ' to select the proper row .... removed the 1 from "E1"
Hope this will help
-
manster_mg please read the Forum Rules to understand how the Forum works and why I have added Code Tags to your post
All VBA code posted in the forum must be wrapped in code tags, which you omitted, including single-line code snippets.Be sure to use them in future posts.
How to use code tags
Note: no apostrophe in the tags, just used for demonstration here.
['code]
your code goes between these tags
['/code]
Or, just highlight all of the code and press the <> in the post menu above button to add the code tags.
Thanks.
Also, note this applies to all code snippets including one liners!
-
The code will error if there is a random value anywhere in the column below the data
-
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!