Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Be Glad Too...
It would look Somthing like this Sub Marine() If Range("PKG").Value = "Bulk" Then Range("A187:A195").EntireRow.Hidden = True Else Range("A187-195").Hidden = True End If End Sub "rwinter" wrote: I would like to be able to automatically hide rows based on the value of a particular cell in the same worksheet. I think that I should be able to do this with a macro, but I have no experience writing my own macros, and need thorough instructions for how to create/use a macros. Here are some details about my excel 2003 spreadsheet: Close to the beginning of the worksheet, there is a cell named PKG, this cell either gets the value of "Pack of 1" or "Bulk". When PKG="Bulk", I would like rows 187-195 to be hidden, but I would like them to be displayed when PKG="Pack of 1". Could somebody please walk me through this? Thanks! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Hide/Show rows based on Conditions | Excel Programming | |||
Code for Excel 2007 to hide rows based on sum of several rows not ina range | Excel Programming | |||
hide multiple rows based on condition within rows | Excel Programming | |||
Conditional Formatting of Rows Based On More Than 4 Conditions | Excel Programming | |||
Deleting rows based upon Error conditions | Excel Programming |