Excel Add-In and Macros
Hi Guys,
I am using the Excel Add-in to build some reports from PAS. I have followed the help even to the point of cutting and pasting the code in the samples.
By default my Excel Add-In connects to my use database in read mode even though both my model connection user and the database are defined as having exclusive as their default. This mean I can't save a view. When I run an Excel macro to save a view there I see the existing views and there is no error. However the view does not save.
The help file recommends I issue a Model command to allow me to save my view to the SMReport database. I cut the code from the help file but as soon as I issue the command I get an error "Checkpoint Freeze in Effect; Can not detach".
If I go into PAS I see that my user is already attached to SMReport in share mode. This would seem to make the Model command superfluous.
This seems so basic, but I've spent over a day on it. Surely I can't be the first person to use the VBA in the Excel Add-In? Can someone help please?
Thanks
Cliff
Edited by: Cliff Stinson on Aug 29, 2011 7:07 AM
Cliff,
You should put in a support ticket on this issue.
Regards,
Bob
Similar Messages
-
Excel Add-in and Remote Access?
Any suggestions other than VPN or Citrix?We are currently using VPN for remote access with the Excel Add-In. Although this is working, ideally I would like my users to not have to have that additional layer. Plus I would rather not have to support the VPN for the users either.Anyone suggest any other alternative to VPN or Citrix that provides secure access? (VPN is giving us encrypted data transfer, alternatives would have to as well)Anyone know what ports need to be open on our essbase servers if we get published IP address for these servers?
If the users are to log in using the spreadsheet add in, they will need to have connectivity to that server, but opening up the ports to the outside may not be a good idea. However, the DBA guide documents the listening port for Essbase (1423) plus the range of ports that must be opened ot allow clients to connect.For situations I have encountered, allowing users to have access via VPN is the easiest approach, but I'm not a networking expert, so I can't really say what level of risk that exposes your network to.Another alternative could be to look at Essbase Spreadsheet Services, which uses Essbase Enterprise Services to give users the add-in over HTTP. This layer can be secured using HTTPS as well. I'm not sure about the licensing costs of this product.Regards,Jade----------------------------------Jade ColeSenior Business Intelligence ConsultantClarity [email protected]
-
Re: Essbase Add-in and Excel 2010
I have a user who is getting the following error:
Excel experienced a serious problem with the 'c:\oracle\middleware\epmsystem11r1\products\exceladdin\bin\essexcin.xll" add-in. . . .Do you want to disable this add-in?
Do we need to reinstall the Essbase add-in ?
I have had the user disable other add-ins via 'File > Options > Add-ins > Excel add-ins and that didn't resolve the problem.
Are there any compatibility issues with 64 bit Excel?
Also, after installing Essbase add-in, what are the items that should appear
'File > Options > Add-ins > Excel add-ins
Excel version : 2010
Add-in version Essbase Spreadsheet add-in, Fusion Edition 11.1.2
I would appreciate a quick response.
My email id is < removed by moderator so that you don't get spammed for all Eternity >Also, after installing Essbase add-in, what are the items that should appear
'File > Options > Add-ins > Excel add-ins
The user has the following items:
Essexcin.
In2Hyp Essbase ribbon.
Oracle Essbase Query Designer Addin.
The items which I have in 'File > Options > Add-ins > Excel add-ins is:
In2Hyp Essbase Ribbon
Oracle Essbase OLAP Server DLL (Non- Unicode)
Oracle Essbase Query Designer Addin.
Could you please kindly help me understand the difference?
Do you recommend reinstalling the Essbase add-in ?
Thank you very much for your help. -
Essbase Excel Add-In (11.1.2.1) and Office 2010
I was wondering if anyone knows if the Essbase Excel Add-In (v11.1.2.1) is compatible in Office 2010 (64-bit)?
I found some search results from about 6-8 months ago saying that it was supported in Office 2010, but not in the 64-bit edition. Does anyone know if this has changed and if this is in fact supported?
If not supported has it been tested to at least work?
Thank you in advance.Have a read of the following on Oracle Support - Support for Office 2010 in Essbase Excel Add-In and Smart View [ID 1191235.1]
Cheers
John
http://john-goodwin.blogspot.com/ -
Error 109 : MaxL api instance is not Active after installing excel add-in
Hello Gurus
I am getting error Error 109 : MaxL api instance is not Active while expanding essbase server in EAS console.
I am using EPM 11.1.2.1 on Windows server 2008 x64 with MS Office 2007 x32
EAS was working properly before installing Excel Add-in,
What i did is
1. I first installed excel add-in and when I clicked on connect Log-in screen didn't appears.
2. Then I reinstalled excel add-in and it started working properly and EAS was also working fine.
3. But after restarting VM, EAS is not working, it is giving error like "Error 109 : MaxL api instance is not Active"
4. I also searched on OTN for EAS issue and checked following environment variables
ESSBASEPATH : C:\Oracle\Middleware\EPMSystem11R1\products\ExcelAddin
ESSLANG : English_UnitedStates.Latin1@Binary
5. And also tried reinstalling EAS
Any help will be highly appreciated.
Thanks
Yash
Edited by: yash on Apr 10, 2012 8:01 PMHello,
I had the same problem, after add-in 's installation on epm 11.121
Without solution, I was forced to uninstall all epm and reintsall.
Is there another method to solve this problem ?
thx -
im confused about all the hyperion add in does all of them open and edit in the data forums ?
the add in is excel add in and smart view planning provider and smart view essbase providerSmart view you can open forms and enter data into the form.
Excel addin does not open forms.
Cheers
John
http://john-goodwin.blogspot.com/ -
Essbase 7.x Excel Add In Compatibility?
Is Essbase 7.x Excel Add in compatible with Essbase 11? We would like the users to keep the Essbase 7.x Excel add in and only migrate Essbase server to 11.x.
Please advise.Essbase 11 does not have a separate installable for Excel Add In. I think we have to use the 3GB installable to install just the Excel Add In. This will be a problem if I have to uninstall the old Add In and install the new Add in for 200 users.
-
Excel Add-in error v11.1.1.3
A user just installed Excel Add-in v11.1.1.3 on her windows XP running Excel 2003.
She is experiencing an error whenever she tries to print a report from ORACLE ADI. ADI runs for a couple of mins, after which it generates report, that’s when she gets this error message:
‘error – excel failed to open’
I uninstalled Excel Add-in and ORACLE ADI started to generate report fine.
Maybe a quick workaround would be for her to deregister Essbase when she is not using it?
Anyone else experiencing this?
Edited by: Essbase Fan on Oct 29, 2010 12:29 PMHi Hari,
We worked with oracle on this , and here are the steps provided by them
If you do not use the Visual Explorer functionality from within Essbase Excel Add-in, you can eliminate the error by renaming two files.
1. Navigate to the \Hyperion\products\Essbase\EssbaseClient\bin directory
2. Rename the file so the extension is not an executable, i.e. hve.exe to hve.exe.ORIG
3. Rename the DLL file so it is not a valid data link library file, i.e. hve.dll to hve.dll.ORIG
and also bug has been raised with number 8214299.
Sandeep Reddy Enti
HCC
http://hyperionconsultancy.com/ -
Y-T-D Value Essbase Excel Add-in Failure
<p> </p><div>This is very strange. I have a valid intersection whereI can see current values in analyzer.<br><br>Yet using the excel add-in with exactly the same POV i getzero's.</div><div> </div><div>But it gets weirder.</div><div> </div><div><span class="054245302-15032006"><font size="2" color="#0000ff" face="Arial">If I change Jan to Jan in my column headeras opposed to Y-T-D (Jan)and leave the rest of the months Y-T-D(Feb)I get Jan data and miraculously Feb year to date data but the restof my Y-T-D months continue to retrive zeros.</font></span></div><div><span class="054245302-15032006"><font size="2" color="#0000ff" face="Arial">If I then change Y-T-D(Feb) to Febyou guessed it - I get Jan and Feb data and YTD(Mar) is now retrieving but none of the other Y-T-D months from Aprforwards.</font></span><br></div><div><br>Anybody ever seen anything like this? </div><div></div>
I have tested again today, and it works fine now with Classic Excel Add In and with Smart View. (Sorry, I dont know what I did that was wrong).
The only problem with SmartView is that the current release does not support hiding #Invalid rows.
Philippe -
Guys,
Which file do we need to browse in configuring Excell add-in? can you pls refer default path also to browse?Hyperion\products\Essbase\EssbaseClient\bin\essexcln.xll -> Excel add-in
and essxleqd.xla -> Query Designer
- Krish -
How to secure data transmission from Essbase Excel add-in to Essbase Server
I have a requirement to secure the data transmission (encrypt) the data transmission from the Essbase excel add in on the client machine to the Essbase server. I have confirmed with Oracle support that the excel add-in and the API only transmit the data in binary from with no encryption.
I wanted to see if anyone has implemented this before?
Thanks,
MikeTechnical support gave you the correct answer, it is
not supported. You might check with Tim Tow
http://www.appliedolap.com to see if either the
Dodeca or ActiveOlap products support encryption.Glenn is correct in that Oracle doesn't support it. More specifically, the Essbase server itself does not support it.
The other products mentioned in this thread, Smartview, Spreadsheet Services, Dodeca and ActiveOLAP, all can talk to the middle tier via https and are thus encrypted through that portion of the transaction. However, the communication from the middle tier, Analytic Provider Services in the case of System 9, talks to Essbase via TCP/IP unencrypted. If your middle tier/Essbase server connections are not 'sniffable', then essentially they are secured (albeit not encrypted).
Tim Tow
Applied OLAP, Inc. -
Problem: Excel Add-in with Excel 2010
I recently installed the essbase spreadsheet add-in onto Excel 2010 and it worked fine,(previosuly there was 9.3.1 Excel add-in and i removed and installed Excel add-in 11.1.2.2) but after some days it is giving beolw messgae:-
Excel experienced a serious problem with the 'c:\hyperion\analyticservices\bin\essexcln.xll' addin. . . .Do you want to disable this add-in?
Has anyone else seen this error, know of a work around or whether a new version is in the works?This generally happens if your excel gets crashed due to some reason / your system gets force shutdown. As suggested above, you can enable it.
Note: When you get that message to disable, do not click yes.
Regards
Amarnath
ORACLE | Essbase -
Memory usage of excel stays high after Macro is executed and excel crashes after trying to close it
Hi,
I'm trying to resolve an issue with an excel based tool. The macros retrieve data from an Oracle database and do calculations with the data. They also open and write into files in the same directory. The macros all run and finish the calculations. I can
continue to use and modify the sheet. I can also close the workbook, however excel memory usage I see in the windows Task manager stays elevated.If I close Excel it says: Excel stopped working and then it tries to recover information...
I assume something in the macro did not finish properly and memory was not released. I would like to check what is still open (connection, stream or any other object) when I close the workbook I would like to have a list of all still used memory. Is there
a possibility to do so.
Here the code I'm using, its reduced to functions which open something. Functions
get_v_tools() and get_change_tools() are same as get_client_positions().
Public conODBC As New ADODB.Connection
Public myPath As String
Sub get_positions()
Dim Src As range, dst As range
Dim lastRow As Integer
Dim myPath As String
lastRow = Sheets("SQL_DATA").Cells(Sheets("SQL_DATA").rows.Count, "A").End(xlUp).Row
Sheets("SQL_DATA").range("A2:AD" & lastRow + 1).ClearContents
Sheets("SQL_DATA").range("AG2:BE" & lastRow + 2).ClearContents
Sheets("SQL_DATA").range("AE3:AF" & lastRow + 2).ClearContents
k = Sheets("ToolsList").Cells(Sheets("ToolsList").rows.Count, "A").End(xlUp).Row + 1
Sheets("ToolsList").range("A2:M" & k).ClearContents
'open connection
Call open_connection
lastRow = Sheets("SQL_DATA").Cells(Sheets("SQL_DATA").rows.Count, "A").End(xlUp).Row
If lastRow < 2 Then GoTo ErrorHandling
'copy bs price check multiplications
Set Src = Sheets("SQL_DATA").range("AE2:AF2")
Set dst = Worksheets("SQL_DATA").range("AE2").Resize(lastRow - 1, Src.columns.Count)
dst.Formula = Src.Formula
On Error GoTo ErrorHandling
'new prices are calculated
newPrice_calculate (lastRow)
Calculate
myPath = ThisWorkbook.Path
'Refresh pivot table in Position Manager
Sheets("Position Manager").PivotTables("PivotTable3").ChangePivotCache ActiveWorkbook. _
PivotCaches.Create(SourceType:=xlDatabase, SourceData:= _
myPath & "\[Position_Manager_v1.0.xlsm]SQL_DATA!R1C2:R" & lastRow & "C31" _
, Version:=xlPivotTableVersion14)
ErrorHandling:
Set Src = Nothing
Set dst = Nothing
If conODBC.State <> 0 Then
conODBC.Close
End If
End Sub
Sub open_connection()
Dim sql_data, sql_data_change, sql_data_v As Variant
Dim wdth, TotalColumns, startRow As Integer
Dim rst As New ADODB.Recordset
Errorcode = 0
On Error GoTo ErrorHandling
Errorcode = 1
With conODBC
.Provider = "OraOLEDB.Oracle.1"
.ConnectionString = "Password=" & pswrd & "; Persist Security Info=True;User ID= " & UserName & "; Data Source=" & DataSource
.CursorLocation = adUseClient
.Open
.CommandTimeout = 300
End With
startRow = Sheets("SQL_DATA").Cells(Sheets("SQL_DATA").rows.Count, "A").End(xlUp).Row + 1
sql_data = get_client_positions(conODBC, rst)
wdth = UBound(sql_data, 1)
Sheets("SQL_DATA").range("A" & startRow & ":AA" & wdth + startRow - 1).Value = sql_data
'Run change tools instruments
startRow = Sheets("ToolsList").Cells(Sheets("ToolsList").rows.Count, "A").End(xlUp).Row + 1
sql_data_change = get_change_tools(conODBC, rst)
wdth = UBound(sql_data_change, 1)
Sheets("ToolsList").range("A" & startRow & ":M" & wdth + startRow - 1).Value _
= sql_data_change
'open SQL for V tools instruments
startRow = Sheets("ToolsList").Cells(Sheets("ToolsList").rows.Count, "A").End(xlUp).Row + 1
sql_data_v = get_v_tools(conODBC, rst)
wdth = UBound(sql_data_v, 1)
Sheets("ToolsList").range("A" & startRow & ":L" & startRow + wdth - 1).Value = sql_data_v
conODBC.Close
ErrorHandling:
If rst.State <> 0 Then
rst.Close
End If
Set rst = Nothing
End Sub
Private Function get_client_positions(conODBC As ADODB.Connection, rst_posi As ADODB.Recordset) As Variant
Dim sql_data As Variant
Dim objCommand As ADODB.Command
Dim sql As String
Dim records, TotalColumns As Integer
On Error GoTo ErrorHandling
Set objCommand = New ADODB.Command
sql = read_sql()
With objCommand
.ActiveConnection = conODBC 'connection for the commands
.CommandType = adCmdText
.CommandText = sql 'Sql statement from the function
.Prepared = True
.CommandTimeout = 600
End With
Set rst_posi = objCommand.Execute
TotalColumns = rst_posi.Fields.Count
records = rst_posi.RecordCount
ReDim sql_data(1 To records, 1 To TotalColumns)
If TotalColumns = 0 Or records = 0 Then GoTo ErrorHandling
If TotalColumns <> 27 Then GoTo ErrorHandling
If rst_posi.EOF Then GoTo ErrorHandling
l = 1
Do While Not rst_posi.EOF
For i = 0 To TotalColumns - 1
sql_data(l, i + 1) = rst_posi.Fields(i)
Next i
l = l + 1
rst_posi.MoveNext
Loop
ErrorHandling:
rst_posi.Close
Set rst_posi = Nothing
Set objCommand = Nothing
get_client_positions = sql_data
End Function
Private Function read_sql() As String
Dim sqlFile As String, sqlQuery, Line As String
Dim query_dt As String, client As String, account As String
Dim GRP_ID, GRP_SPLIT_ID As String
Dim fso, stream As Object
Set fso = CreateObject("Scripting.FileSystemObject")
client = Worksheets("Cover").range("C9").Value
query_dt = Sheets("Cover").range("C7").Value
GRP_ID = Sheets("Cover").range("C3").Value
GRP_SPLIT_ID = Sheets("Cover").range("C5").Value
account = Sheets("Cover").range("C11").Value
sqlFile = Sheets("Cover").range("C15").Value
Open sqlFile For Input As #1
Do Until EOF(1)
Line Input #1, Line
sqlQuery = sqlQuery & vbCrLf & Line
Loop
Close
' Replace placeholders in the SQL
sqlQuery = Replace(sqlQuery, "myClent", client)
sqlQuery = Replace(sqlQuery, "01/01/9999", query_dt)
sqlQuery = Replace(sqlQuery, "54747743", GRP_ID)
If GRP_SPLIT_ID <> "" Then
sqlQuery = Replace(sqlQuery, "7754843", GRP_SPLIT_ID)
Else
sqlQuery = Replace(sqlQuery, "AND POS.GRP_SPLIT_ID = 7754843", "")
End If
If account = "ZZ" Then
sqlQuery = Replace(sqlQuery, "AND AC.ACCNT_NAME = 'ZZ'", "")
Else
sqlQuery = Replace(sqlQuery, "ZZ", account)
End If
' Create a TextStream to check SQL Query
sql = sqlQuery
myPath = ThisWorkbook.Path
Set stream = fso.CreateTextFile(myPath & "\SQL\LastQuery.txt", True)
stream.Write sql
stream.Close
Set fso = Nothing
Set stream = Nothing
read_sql = sqlQuery
End FunctionThanks Starain,
that's what I did the last days and found that the problem is in the
newPrice_calculate (lastRow)
function. This function retrieves data (sets it as arrays) which was correctly pasted into the sheet, loops through all rows and does math/calendar calculations with cell values using an Add-In("Quantlib")
Public errorMessage as String
Sub newPrice_calculate(lastRow)
Dim Type() As Variant
Dim Id() As Variant
Dim Price() As Variant
Dim daysTo() As Variant
Dim fx() As Variant
Dim interest() As Variant
Dim ObjCalend as Variant
Dim newPrice as Variant
On Error GoTo Catch
interest = Sheets("SQL_DATA").range("V2:V" & lastRow).Value
Type = Sheets("SQL_DATA").range("L2:L" & lastRow).Value Id = Sheets("SQL_DATA").range("M2:M" & lastRow).Value Price = Sheets("SQL_DATA").range("T2:T" & lastRow).Value
daysTo = Sheets("SQL_DATA").range("K2:K" & lastRow).Value
fx = Sheets("SQL_DATA").range("U2:U" & lastRow).Value
qlError = 1
For i = 2 To lastRow
If (i, 1) = "LG" Then
'set something - nothing spectacular like
interest(i, 1) = 0
daysTo(i , 1) = 0
Else
adjTime = Sqr(daysTo(i, 1) / 365)
ObjCalend(i,1) =Application.Run("qlCalendarHolidaysList", _
"CalObj", ... , .... other input parameters)
If IsError(ObjCalend(i,1)) Then GoTo Catch
'other calendar calcs
newPrice(i,1) = Application.Run( 'quantLib calcs)
End If
Catch:
Select Case qlError
Case 1
errorMessage = errorMessage & " QuantLibXL Cal Error at: " & i & " " & vbNewLine & Err.Description
ObjCalend(i,1) (i, 1) = "N/A"
End Select
Next i
Sheets("SQL_DATA").range("AB2:AB" & lastRow).Value = newPrice
'Sheets("SQL_DATA").range("AA2:AA" & lastRow).Value = daysTo
' erase and set to nothing all arrays and objects
Erase Type
Erase id
Erase Price
Set newPrice = Nothing
Is there a possibility to clean everything in:
Private Sub Workbook_BeforeClose(Cancel As Boolean)
End Sub
Thanks in advance
Mark -
Hi All,
I have a user who has just had Windows 7 and excel 2010 installed and is able to connect to Essbase through the add-in but when he tries to retrieve data it completely crashes his excel which shuts down immediately.
As far as I have read the add-in does not support 2010 64-bit but I have win7 and excel 2010 and do not have the same problem and I am to retrieve data with no issues. We both have the 32-bit version of 2010 so I'm not sure why his excel is shutting down.
We are on 11.1.1.3 of Essbase
Any pointers or experiences you can give are appreciated
Thanks
LukeIs there any other addin installed on this machine, if yes try the retrieval after disabling that addin.
If not
Try un-install and re-install of Essbase Excel Addin -
Essbase and Excel Add-in Migration from 6.5 to 11.1.2.1
Hi,
Essbase and excel 6.5 Wanted to Upgrade to 11.1.2.1
since there only essbase we just need to install 11.12.1 essbase and copy the otl files and series of steps
but how to upgrade the Excel addin 6.5 to 11.1.2.1If you are doing a clean upgrade then all you'll need to do is uninstall the excel add-in from 6.5 and then reinstall the 11.1.2.1 version of excel add-in.
Maybe you are looking for
-
Assign event to multiple calendars
I use Outlook as my main calendar to track my family's activities and commitments, so I use categories for each of our family members. Frequently, events (i.e. no school days) involves more than one child, so in Outlook the partivular event receives
-
Can't get Mail- Gmail- Drafts(And Sent Items) to mirror online or my iphone
I have read the posts here and elsewhere on how to get this to work, but for some reason my 'Drafts'(and 'Sent' items) folder in Mail.app is still not the same as online or on my iphone. What exactly do i need to do to make Mail.app folders for Draft
-
Difference between Inventory cube 0IC_C03 and 0CP_IC_C1
Hi Gurus I'd like to ask what's the difference between this 2 cubes in inventory? 0IC_C03 and 0CP_IC_C1 ? Any help will be much appreciated. Thanks in advance - Kit
-
"Application Error" on Portal Connecting to MS SQL
Hello together,... i'm very new to the SAP Portal. I have build an application that uses the BI-JDBC Connector to connect to an MS SQL-Server. I have also build an application with VC that reads a tbale of the Database. These parts are working perfec
-
Camera Raw 8 the same cropping choices as are in Lightroom and Photoshop?
Seriously, how hard would it be to give Camera Raw 8 the same cropping choices as are in Lightroom and Photoshop (i.e., Fibonacci, Triangle, Diagonal, etc.)? This disparity in features is inexcusable and embarrassing. Surely the teams communicate?