oBar.Controls("Hyperion").Controls("Refresh All").Execute

Irek1974

Board Regular
Joined
Jul 17, 2009
Messages
64
Hi,

I used such a code which worked with Excell 2003 with not problems:

Sub refr()
Dim oBar As CommandBar
Set oBar = Application.CommandBars("Worksheet Menu Bar")
oBar.Controls("Hyperion").Controls("Refresh All").Execute
End Sub

but sometime ago our IT dep updated Smart View in Hyperion because they installed Excell 2010 on our computers.
From that moment the code above doesn't work.

could anyone help please ?
regards,
I.
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Try opening up the Customise Quick Access Toolbar dialog, change the dropdown to show all commands, then locate and hover the cursor over the 'Refresh All' button (if it appears in the list) and tell me what the tooltip text says at the end.
 
Upvote 0
and when I could find this "Customise quick access toolbar dialog" ?
is it somewhere in Excel ?( I use excel 2010)

Try opening up the Customise Quick Access Toolbar dialog, change the dropdown to show all commands, then locate and hover the cursor over the 'Refresh All' button (if it appears in the list) and tell me what the tooltip text says at the end.
 
Upvote 0
Right click the Quick Access Toolbar (above the Ribbon).
 
Upvote 0
actually I have two "Refresh All" buttons.
the first one : Essbase|Data|Refresh All (CustomControl)
the second : Smart View|Data|Refresh All (CustomControl)

I hope this helps

Right click the Quick Access Toolbar (above the Ribbon).
 
Upvote 0
Oh - I think you might be out of luck then, unless there is something in the Accessibility objects that will allow it. I will have a play and see.
 
Upvote 0
Is Smart View a new tab, or a group on an existing tab? I would need to know:
Tab name
Group name
Caption

I think, in order to be able to click it.
 
Upvote 0
Smart View is a new tab (like "main menu", "insert", "formulas", "data" or "view", "delevloper", "additions"

when I click on Smart View I see :
- Start (Open)
- Edit (undo, redo, copy data point, paste data point, Functions)
- Data (Refresh button (it has two opitons: refresh , refresh all), Data submit)
- general (options, help, sheet info, more)



Is Smart View a new tab, or a group on an existing tab? I would need to know:
Tab name
Group name
Caption

I think, in order to be able to click it.
 
Upvote 0

Forum statistics

Threads
1,223,243
Messages
6,170,971
Members
452,371
Latest member
Frana

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top