ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   hide a page on a multipage control (https://www.excelbanter.com/excel-programming/295927-hide-page-multipage-control.html)

Spencer Hutton[_2_]

hide a page on a multipage control
 
is their a way to hide a certain page on a multi page, given a certain
condition. say the Cell A1 contains the word "Yes" hide page 4, else do not
hide page 4. TIA



Bob Phillips[_6_]

hide a page on a multipage control
 
Hi Spencer,

Try

With Me.MultiPage1.Pages("Page1")
If Range("C4") = "Yes" Then
.Visible = False
Else
.Visible = True
End If
End With


--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Spencer Hutton" wrote in message
...
is their a way to hide a certain page on a multi page, given a certain
condition. say the Cell A1 contains the word "Yes" hide page 4, else do

not
hide page 4. TIA






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

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