Essbase VBA question

Johnmu

New Member
Joined
Jul 15, 2009
Messages
23
Hi All,

I have some VBA code that retrieves data from Essbase. Once I use the macro to retrieve the data I can't use flashback to restore the previous view. The message I get it that there is no flashback information for this sheet.

From the Oracle site I see how to declare Flashback but I cannot see how to Enable Flashback .. Can anyone help me with this please??

Thanks

John

EssVFlashBack(sheetName)<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></PRE>
ByVal sheetName As Variant<o:p></o:p></PRE>Parameters<o:p></o:p>
sheetName<o:p></o:p>
Text name of worksheet to operate on. sheetName is of the form "[Book.xls]Sheet". If sheetName is Null or Empty, the active worksheet is used.<o:p></o:p>
Return Value<o:p></o:p>
Returns 0 if successful. A negative number indicates a local failure (see VBA Return Values). A return value greater than zero indicates a failure on the server.<o:p></o:p>
Example<o:p></o:p>

Declare Function EssVFlashBack Lib "ESSEXCLN.XLL" (ByVal sheetName As Variant) As Long<o:p></o:p></PRE>
<o:p> </o:p></PRE>
Sub FB()<o:p></o:p></PRE>
X=EssVFlashBack(Empty)<o:p></o:p></PRE>
End Sub<o:p></o:p></PRE>
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

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