Hello,
Does anyone know how I can write a VBA code to connect to Oracle SmartView (Essbase - Hyperion) using Excel? I had the following code and it worked great, but that was in an older version of Essbase. Company recently upgraded to SmartView and I can't seem to find the commands for connecting and for retrieving the data using SmartView. Thanks for any assistance.
If Right(Left(wkshtnames(i), (Application.WorksheetFunction.Find(".", wkshtnames(i), 1) + 1)), 1) = "E" Then
hCtx = EssVGetHctxFromSheet(Null)
If hCtx = 0 Then
MsgBox "Workbook NOT Connected to Essbase. Please Log In.", vbCritical, "P&RA Actuals Essbase Refresh"
'Call Essbase connect function
Call EssMenuVConnect
GoTo Step1
Else
ShtName = Worksheets(wkshtnames(i)).Name
Worksheets(ShtName).Activate
LastRow = ActiveSheet.UsedRange.Rows.Count
LastColumn = ActiveSheet.UsedRange.Columns.Count
Set Rng1 = Worksheets(i).Range(Range("B3"), Cells(LastRow - 1, 15))
Rng1.Select
Application.Run macro:="EssMenuRetrieve"