View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
[email protected] sreeram.i.c@gmail.com is offline
external usenet poster
 
Posts: 13
Default Code to hide and unhide cells (SC).

I'm designing a form where Cell A5, which is named Off_Num. This cell
has Values (Select One, 1 to 20) in a dropdown, and Rows 9 to 28 are
hidden.

Now if 1 is selected in Off_Num cell then, the code should Unhide Row
9. And if 2 is selected then Row(9:10) should be unhidden so on, till
if 20 is selected the Rows(9:28) should be unhidden. And if Select One
option is selected that Rows(9:28) should get hidden again.

Please help me with this.