Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
hide row automatically
i have filed like
Date, party name, amt, startdt,proddt,proccdt,finesdt,dispdt, i want when i fill data in all last 5 filed it should automatically hide that row. how to do that? any help plz. Thanks in advance. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
hide row automatically
Right click on the sheet tab and select view code. Paste in code similar to
this: Private Sub Worksheet_Change(ByVal Target As Excel.Range) If Application.CountA(cells(Target.Row,4).Resize(,5)) = 5 Then Target.EntireRow.Hidden = True End If End Sub Regards, Tom Ogilvy ****al wrote in message ... i have filed like Date, party name, amt, startdt,proddt,proccdt,finesdt,dispdt, i want when i fill data in all last 5 filed it should automatically hide that row. how to do that? any help plz. Thanks in advance. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I automatically hide columns? | Excel Discussion (Misc queries) | |||
Automatically hide a row if it is empty | Excel Discussion (Misc queries) | |||
How do I hide a tab automatically? | Excel Worksheet Functions | |||
Hide rows automatically | Excel Discussion (Misc queries) | |||
How do I automatically hide rows | Excel Discussion (Misc queries) |