View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Rick Rothstein \(MVP - VB\)[_1340_] Rick Rothstein \(MVP - VB\)[_1340_] is offline
external usenet poster
 
Posts: 1
Default How to disable and enable multipage elements during runtime?

Try it this way...

With MultiPage1
For X = 1 To .Pages.Count
MultiPage1.Pages(X).Enabled = True
Next
End With

You can address individual pages via its Index in the Pages collection.

Rick


"Yajiv" wrote in message
...
I have a multipage with four pages. I want to enable them when some
condition is satisfied. How can i do that? The intelli-sense is not
displaying my page names.