Hi there
i want to hide from lRow Down to the last used Cell.
I tried to modify this code , but could not make it work.
Code:
--------------------
Sub Macro2()
Dim lRow As Long
lRow = Selection.Row
If lRow <= 5 Then Exit Sub
Rows("lRow:" & Selection.End(xlDown)).EntireRow.Hidden = True
End Sub
--------------------
an idea ?
--
helmekki
------------------------------------------------------------------------
helmekki's Profile:
http://www.excelforum.com/member.php...fo&userid=6939
View this thread:
http://www.excelforum.com/showthread...hreadid=377831