If i wanted to change this to columns how could i do so.
Ive tried the below but it just produces an error
Sub AutoHidePlanRows()
Dim myR As Range
Dim myV As Range
Set myR = Range("A1", Range("A65536").End(xlUp))
myR.AutoFilter Field:=1, Criteria1:="Y"
Set myV = myR.SpecialCells(xlCellTypeVisible)
myR.AutoFilter
myV.EntireRow.Hidden = True
End Sub
--
ceemo
------------------------------------------------------------------------
ceemo's Profile:
http://www.excelforum.com/member.php...o&userid=10650
View this thread:
http://www.excelforum.com/showthread...hreadid=545451