HypUndo

Data source types: Essbase, Planning (ad hoc only), Financial Management (ad hoc only), Hyperion Enterprise (ad hoc only)

Description

HypUndo() restores the previous database view. A database view is the view of the spreadsheet after performing Zoom In, Zoom Out, Keep Only, Remove Only, or Refresh commands.

Syntax

HypUndo (vtSheetName)

ByVal vtSheetName As Variant

Parameters

vtSheetName: For future use. Currently the active sheet is used.

Return Value

Returns 0 if successful; otherwise, returns the appropriate error code.

Example

Declare Function HypUndo Lib "HsAddin" (ByVal vtSheetName As Variant) As Long

Sub Undo()
   X=HypUndo(Empty)
End Sub