Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am surprised no-one gave you a response to such a simple question, but
looking back at it I see your original post mentioned 'Refresh All'. That may be why. -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) <Toby Erkson wrote in message ... Well, good to see that I can stump some people :-) Talked with a friend who's a VBA demi-god and here's what we got: ------------------------------------ ... Visible = isVisible("Refresh Data") 'Example of use If Visible Then... ... Function isVisible(sButton As String) As Boolean On Error GoTo ErrorHandler isVisible = Application.CommandBars("PivotTable").Controls(sBu tton).Visible Exit Function ErrorHandler: isVisible = False Exit Function End Function ------------------------------------ Toby Erkson Oregon, USA |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Control which option is visible in Combo boxes | Excel Programming | |||
Excel - adding control programmatically. | Excel Programming | |||
Is it possible to change the Input Range of a Form Control programmatically? | Excel Programming | |||
Spin32.ocx control tab not visible | Excel Programming | |||
Keep userform visible, but return control to calling routine | Excel Programming |