VBA to Drill Down to a Level in Smartview

tbiven78

New Member
Joined
Jul 16, 2008
Messages
13
Good Afternoon,

Any help would be appreciated as I'm at a loss with resources and time. I need VBA code to drill down to the lowest level in a Smartview template I've set up. This could be as simple as double clicking the cell automatically, which triggers a drill down or perhaps some code I'm unaware of that drills down on a particular field. The purpose of doing this is to have an easily updated template that can be somewhat interactive depending on other selections in the workbook. The code I have is as follows(Keep in mind this only updates but does not drill down):

Keep in mind I have my Hyperion Declaration in the Module.Anyone who has dealt with Smartview realizes why I turn Calcs off before updating.


Private Sub CommandButton1_Click()
Application.ScreenUpdating = False
Application.Calculation = xlCalculationManual
sts = HypRetrieve("Table")
Application.Calculate
Application.Calculation = xlCalculationAutomatic
Application.ScreenUpdating = True


End Sub


Any and All help is greatly appreciated.

Thanks,

Tim
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

Forum statistics

Threads
1,215,219
Messages
6,123,687
Members
449,117
Latest member
Aaagu

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