ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Hiding Rows Using IF Statement (https://www.excelbanter.com/excel-programming/441322-hiding-rows-using-if-statement.html)

Larry Fitch

Hiding Rows Using IF Statement
 
I would like to be able to hide a number of rows based on the response to a
question..

The response to the question is a list box with either "yes" or "no" as the
choices.. If the response = "no" then I would like to hide the next 3 rows,
otherwise do nothing..

Is there a "hide" command of some sort that I can use as part of an IF
statement or will I have to use a macro?


--
Thanks

Larry

JLatham

Hiding Rows Using IF Statement
 
Larry, see my response in your other post - must be done with VBA code, and I
provided code the
http://www.microsoft.com/office/comm...a-0d0b8246f0b4


"Larry Fitch" wrote:

I would like to be able to hide a number of rows based on the response to a
question..

The response to the question is a list box with either "yes" or "no" as the
choices.. If the response = "no" then I would like to hide the next 3 rows,
otherwise do nothing..

Is there a "hide" command of some sort that I can use as part of an IF
statement or will I have to use a macro?


--
Thanks

Larry



All times are GMT +1. The time now is 12:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com