Essbase with ActiveX Excel Session?

Does anybody know if there are limitations with the Add-in and an Active X excel session?

Do you mean that you created an instance of Excel using the VB CreateObject function (or a similar C++/.NET equivilent)? If so, I don't believe addin's get loaded when you create the object instance.
What you will to do is check the installed property of an addin object (Application.Addins.Item("essexcln").Installed) and install it if necessary. Note: the string "essexcln" may change from version to version of Essbase and perhaps even in the installation. In fact, I have never seen another installation (other than my laptop I am writing this on) that used that string). It is essentially the string you see in the Tools, Addins dialog and more typically is something like "Hyperion Essbase OLAP Server" or something like that.
Tim Tow
Oracle ACE
Applied OLAP, Inc

Similar Messages

  • Problem with ActiveX / Excel / LV7.1 in program which worked on an older LV7.1 installation...

    Hi,
    I have a LV7.1 program which worked when ran on an older LV7.1 installation. 
    I installed Office XP and LV7.1 and can open the program with no problems.  After opening I ctrl+shift+click the run button to force a recompile and the arrow becomes broken.
    All the errors I have found are the same: Invoke Node contains unwired or bad terminal.
    Below is a screenshot of one of the erroneous block diagrams.  I am hoping the error is recognizable.
    The only two issues I can think of are:
    1. I am running Windows 7- perhaps the ActiveX does not work the same way?  I am currently installing Windows XP to see if this corrects the problem.
    2. Perhaps there was an Office toolkit or something used along with LV7.1 to create this program?  If so, any ideas on what it was and where I can get a hold of it? 
    Thanks,
    Dave
    Solved!
    Go to Solution.

    Thanks Bob.  Yes, the invoke node in the picture was the one throwing the error.
    I know next to nothing about ActiveX.  I right clicked the refnum control on the front panel and created a new invoke node on the block diagram (wasn't sure exactly how to link to the existing invoke node).  I rewired all the old connections and deleted the old invoke node.  Seems to have taken care of the problem.
    Would the object model mismatch been caused by different versions of Offie being installed?  I was thinking about trying Office 97 as well but if rewiring fixes all the problems I guess I won't need to.
    Thanks again,
    Dave

  • How to make an array with ActiveX Excel using Excel_RangeSetValue2?

    Hello,
    I want to make an array on Excel. For that, I'm using two functions : Excel_WorksheetGetRange and Excel_RangeSetValue2.
    I write the array on Excel file but only the first case of the array is copied.
    Here, a part of my program :
    char * DataToWrite = {"A", "B", "C", "D"}
    char cCell[10];
    VARIANT             vCell, Data;
    ExcelObj_Worksheet hWorksheet;
    ExcelObj_Range      hRange;
      CA_VariantSetCString (&vCell,cCell);        //cCell = A1:A4
      Excel_WorksheetGetRange (hWorksheet, NULL, vCell, CA_DEFAULT_VAL, &hRange);
      CA_VariantSetCString (&Data,DataToWrite );
      Excel_RangeSetValue2 (hRange, NULL, Data);
    Here what I obtain when I'm compiling on Excel file :
    A
    A
    A
    A
    Solved!
    Go to Solution.

    You should use other instructions to fill the range of cells:
    strcpy (msg, "A1:A4");
    CA_VariantSetCString (&MyVariant, msg);
    Excel_WorksheetRange (ExcelWorksheetHandle, NULL, MyVariant, CA_DEFAULT_VAL, &ExcelRangeHandle);
    Excel_RangeActivate (ExcelRangeHandle, NULL, NULL);
    // Create a SafeArray from array of data
    CA_VariantSet2DArray (&MyVariant, CAVT_CSTRING, righe, 1, array);
    // Transfer data to Excel range
    Excel_SetProperty (ExcelRangeHandle, NULL, Excel_RangeValue2, CAVT_VARIANT, MyVariant);
    ClearObjHandle (ExcelRangeHandle);
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • EssBase with Excel, automatic Start-Up

    I'm using EssBase with Microsoft Excel. Then of install EssBase and restart the computer, each time start the Excel start the Essbase aplication too. This process aviod some Excel's functions. How I can avoid the automatic start of the EssBase in Excel ? thks !!! Estela

    Here's a trick I use borrowed from Hyperion Enterprise v4 where you put the xll file on the desktop. I use Excel '97 but it should be the same for other versions. Remove Essbase from the Add-ins list by:Rename essexcln.xll in the bin directory to essexcln.xloOpen ExcelSelect Tools/Add-ins, then find essexcln.xll on the list and click on it.when asked if you want to delete it from the list? select yes.Exit Excel.Rename essexcln.xlo back to essexcln.xllYou now have removed the auto-start, so now we need to create a button on the toolbar for when we want to load Essbase.In a new Excel file, create a vba macro and write this code:Sub Ess_Start() MyPath = CurDir() ChDir "c:\essbase\bin" Application.RegisterXLL Filename:="Essexcln.XLL" ChDir MyPathEnd Sub(replace the path with the path to your bin directory).Save the file where it can be always found (on a local drive).Create a new button on the toolbar using custom button and assign this macro to the button. Exit Excel.Restart Excel. Essbase won't start, but when you want Essbase, then click the button and the splash screen will come up and Essbase will load.

  • Executing Excel Session in Background

    All,
    In SAP BW 3.5 we created a recording (through transaction SHDB) of accessing transaction UPSPL (is a SAP transaction with an Excel session embedded in it, data in the excel is written to the SAP database). Then generated an ABAP report of the recording. When running the ABAP report  through se38 in the background, the excel mentioned above is not called/executed correctly i.e. the macros in the excel are not executed (probably because simulating running Excel macros in background is technically not possible?).
    When running the ABAP report in the foreground (setting 'call transaction'), the report perfectly executes the macro i.e. result is the same as accessing and saving the excel manually through UPSPL.
    Read somewhere that installing Excel on SAP (BW) server could be an idea? Because in the above the Excel desktop version is called?
    Would you know how to solve the above? Or experiences with it? Thanks.
    Regards, Meindert Postma
    PS also posted the above on the SAP BW/BPS forum, from a more BPS point of view.
    Running BPS planning folder in background - possible?

    Hi Meinder Postma
    I don't know exactly how this works but I think it is like this:
    The embedded excel functionality is obtained via SAPgui objects.
    The application communicate with excel via a program-to-program-to-program interface between a program in the SAP kernel on the application server, via a SAPgui object on the PC with SAPgui installed and to excel on the same PC.
    Like this:
    Server SAP kernel <=> PC SAPgui <=> PC excel
    In this setup I see no possible way that this can run in background, because in background you have no SAPgui communication at all.
    best regards
    Thomas

  • How to list all currently open Excel files with ActiveX?

    Hello all!
    I would like to program with ActiveX a way to retrieve a list (array of strings) of the filenames of the currently opened Excel files in windows. However, I am fairly new to the ActiveX/Excel business in LV and after hours looking at the "millions" of objects in the property nodes I give up and hope some kind soul here can help me. I couldn't find any information in this forum regarding the same issue, although some were close
    I am using LV 7.1 without the Report Generation Toolkit.
    Thanks!
    /Goran

    Hi KC,
    thanks for your reply. I have in fact been able to find the desired things in the ActiveX properties/methods for Excel in LabView. It took me some looong work going through the functions which I suspected to be the ones. Anyway, I post a little jpeg here of the code if someone ever needs the same functionality. What it does is that it checks how many Excel workbooks are open and controls if each of them matches the searched Excel filename, if one does, it is closed.
    Enjoy
    /Goran
    Attachments:
    List open excel sheets and close open ones.jpg ‏104 KB

  • ActiveX Excel Prevent Open File While Writting

    I'm having some of the same problems with Excel and ActiveX found here:
    http://forums.ni.com/ni/board/message?board.id=170​&message.id=254019&view=by_date_ascending&page=1
    The last post from the above link gives an acceptable workaround (not ideal, but hey, what can you do?) to preventing the user from closing Excel when files are being written to with ActiveX through LabVIEW (since a user can open an Excel file while LV is writting to Excel files with ActiveX and all the files will share the same Excel application, instead of Excel opening a seperate application like one would hope).
    My question for this post: In the previous post Ben had a problem with the user opening a different Excel file than those being written to. My VI opens an exisiting Excel file (test.xls) and writes to it. If the user opens test.xls while LV is still writting test.xls, it will throw an error. Note that the error is not thrown if test.xls is open before the VI starts writting to it, only if the user opens it while its being written to by LV.
    Any ideas on how to lock the file so the user can't open it while it is being used by LV?
    Michael

    Thanks thols. Thats a great solution, I actually had tried it but gave it up since the user could close out of "their" Excel (closing the reference), then open a new spreadsheet which would open in "my" Excel (if done while my subVI was still writing to Excel). At the time, this was a possible scenario for my program, and since I was writing so slowly had happened. I just sped up the writing of the Excel file (I had all the data to write, but was writing with "Set Cell Value.vi", which wrote one cell at a time; instead I wrote whole ranges of data). If Excel was already open, I would set interactive to false and have my spreadsheet minimized while writing to it. If Excel wasn't open, I would just make it invisible. Since I cut the time down to about a second, this worked for my application.
    Michael

  • Using vlookup btwn worksheets when using ActiveX Excel

    I am having problems using the vlookup function in Excel.  It works fine if I have the lookup table on the same worksheet that's already open in LabVIEW.  I first open an excel file that I use as a template.  I copy the header and formula information from that file into an activeX container containing an Excel worksheet.  I then allow the analyst to enter data into the ActiveX Excel spreadsheet.  Meanwhile, I create a log template by creating a text file with headers.  When the analyst is done entering data on the front panel, they click on the Update/Print Label button.  This appends their data (a range of cells) to the text file (which is then formatted and saved using report generation tools) and it's printed to a label.  The problem is on the front panel ActiveX Excel sheet.  The original excel sheet used as a template has many formulas, all of which work well in Excel, as well as in the LabVIEW app, with one notable exception.  One of the cells contains a formula that uses a vlookup function.    The problem is when I place that lookup table on a different worksheet.  It works great if I place the lookup table on the same sheet as the template, but when I try to reference a different sheet, I get an error.  I'm assuming that I just need to add code to open the second Excel spreadsheet (or better yet - a separate workBOOK).  I was confused at first, because the vlookup function worked fine in Excel, but not in LabVIEW.  Then I realized that Excel already had all the worksheets in the workbook open, but LabVIEW does not.  Am I correct?  If I want to use a vlookup to look on another worksheet or another workbook, do I just have to open that second workbook/sheet in LabVIEW?

    Hi Dan,
    You are right.  LabVIEW does not have the other worksheets open.  I think that you are on the right track.  I recommend opening another worksheet and testing it out.  LabVIEW should stop giving you an error when you do.
    Nick Keel
    Applications Engineering
    National Instruments 
    Nick Keel
    Product Manager - NI VeriStand and Model Interface Toolkit
    National Instruments

  • Leaving excel Inplace, the excel session is still active

    I all,
    I use the Excel Inplace method to format data in PivotTables. I use a template based on sap_MM.xls with the procedure Public Sub ALV_CUS_Exit (). It is working correctly.
    My problem happens when I leave the transaction and return to the initial screen. The excel session is still active causing blockages in the Excel application itself
    I looked at the OSS note 122539: it describes functions which do not yet exist in the SAP delivery for certain events. I have tried those functions with the SAP declaration like :
    public sub customer_workbook_deactivate()
        Me.Application.Quit
    End Sub
    Either I use the wrong syntax or I do not set the code in the correct place of the VBA project, I have never activated these functions while leaving the screen excel inplace.
    Can you guide me to a solution ?
    In advance thank you very much.

    Thanks, but my first problem is that I do not pass through the procedure. Once I pass through it I'll try  "me.quit()".
    Regards.

  • Excel Add-in & Multiple excel sessions.

    We all know the limitation of the add-in with multiple sessions of excel going (unpredictable results), but for an accountant it seems pretty restrictive. Especailly if there are long running retrieves. e.g. a macro that retrieves data for multiple sheets.
    Anyone found a way to let someone continue working with excel (not in retrieve mode) while the long running retrieve is going?

    First, understand that the session limit is one of Excel instancing, not connection/workbook related itself.
    You can, with a single excel session, have multiple workbooks open, running multiple calcs connected to multiple databases, and continue to do retrieves relatively unmolested.
    The impact on doing the additional items is not severe, but occasionally noticeable.
    The session limit itself is a pain when you have embedded spreadsheets though, because you wouldn't be able to work in a spreadsheet attached to a powerpoint presentation if excel is open, and you do tend to get limited quite significantly if excel is not your "primary" session.

  • 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.

  • Analyser 7.1 launches new Excel Session

    Hi All,
    I just wanted to ask, I remeber in BEx 3.5 if you had an excel session open and clicked on the Analyser icon it would open the tool bar in the same session. But in 7.1 when I hit the Analyser icon it opens a new Excel session. Is there a setting that needs to be maintained to turn this feature off so tool bar opens in current excel session?

    Hi,
    As per note:  1435326 - "Usage of transaction RRMX / precalc server with gui 7.20". This is a limitation of the system right now.
             o  Reusing of Excel instances is not supported. Every call will launch its own Excel instance.
    Regards,
    Michael Devine

  • Extract data from Essbase with HAL to a flat file

    Hello,
    I would like to extract data from Essbase with HAL.
    I use the essbase Adapter with the "Extract Data" Method.
    All is working when I use only the essbase Adaptater and configure it.
    But I want to have a variable on my Years dimension.
    I have to fill "Years member port" and "Years Criteria port" of my essbase Adapter with variable.
    I have a "v_year" and "v_year_criteria" variable. I fill "v_year" with "FY05" but I don't know how fill my "v_year_criteria" variable.
    Thanks a lor for answer.

    If you are in 9.3x, I would recommend using the DATAEXPORT calc script function. You just FIX on what you want to export (including substitution variables), and then fill in some parameters and it writes a file. Look in the DBAG.

  • Bi publisher with new public session not working. Bug?

    Hello,
    I've got a problem with a bi publisher report I want to open from a url. I have a page 1 which is public, and I want to give the user following url to download the document:
       MYURL/pls/apex/f?p=MYAPP:1::PRINT_REPORT=MYREPORT:::MYVAR:1
    This gives me an empty page.
    When I first generate a new session by just going to page 1:
       MYURL/pls/apex/f?p=MYAPP:1 (which generates MYURL/pls/apex/f?p=MYAPP:1:1855219487679317)
    And then use the original url with the new session, it downloads the document:
       MYURL/pls/apex/f?p=MYAPP:1:1855219487679317:PRINT_REPORT=MYREPORT:::MYVAR:1
    Is this a know problem and is there a workaround?
    Regards, Jan

    Jan,
    This appears to be a bug. As a workaround, you can provide users with a link to a different public page and have that page do a before-header branch to your page 1, specifying the PRINT_REPORT=MYREPORT request value and the session item names/values in the branch definition. For example the link your users could use (to public page 2) might be:
    ..f?p=MYAPP:2
    Scott

  • Word 2010 with Embedded Excel table becomes oversized for RDP users

    I originally asked this question on the SharePoint Online forums as this was the first time we've seen this issue. Original Post
    Summarized: we have a Word template with embedded Excel table created in SharePoint Online, and when a RDP user opens it, the document correctly opens in the local version of Word 2010 (not Word Online).   When the table is edited, it becomes
    larger to the point you can no longer view the entire table. 
    We have done some testing with Word 2010 outside of RDP and everything works correctly, the embedded Excel table doesn't become oversized and works as expected.  It seems to definitely be an issue with RDP and I've been looking for any assistance
    on resolving this issue.  I recently did some further testing and found that the only time the table becomes oversized and not view-able is when you copy and paste information from an existing 2003 Excel document.  I would think this is the issue,
    but it doesn't happen when working with Word and SharePoint outside of an RDP environment. 
    The template is a .docx file. All RDP users are in a 2008 R2 environment.

    I did some testing over the weekend and the simple answer to your question - Not always.
    I found 2 variables which seem to cause this to happen:
    1) We have 2 TS servers - one with IE 9, which remains to maintain support for a legacy app which will not work with IE 10 or 11, and one with IE 10.
    2) Screen resolution of the client computer - it seemed that systems with video configurations which could not exceed the maximum of 1280x1024 (the same screen resolution as our TS servers) didn't experience the issue.  There were some laptops
    and higher end systems with widescreen monitors, where this was an issue.  They typically didn't have a 1280x1024 option; yet even if they did they would experience the same issue, just not as pronounced.
    It also seems to only occur when a user copies and pastes information from Excel 2010 into the embedded Excel table in Word 2010.  Again, only within RDP.  On those client computers which had the problem, I could perform the same function outside
    of RDP without any problems.  However, this is not an ideal format for the chefs as they will frequently be moving between different systems during the day.

Maybe you are looking for

  • Why will Siri not work on my iPhone 4s?

    I've had my iPhone 4s for a while now, actually, it used to be my Dad's, but I just realized hoe useful Siri was and I help down the Home button for a while and Voice Control came up, so I went to enable Siri, and there's wasn't even a Siri tab to en

  • I upgraded to Yosemite and new Numbers.  Can not use my spreadsheet and can not find it.  How do I retrieve from time machine a previous backup?

    I just upgraded to Yosemite on a MacBook Pro and also needed to upgrade Numbers.  However, I can not get a spreadsheet that I had prior to this.  I did backup to time machine.  How do I now restore to get that spreadsheet?

  • Can I use c:out JSTL tag with int values?

    I am attempting to c:out an int variable in my JSP using a JSTL core tag. First is it possible to do c:out an int? Second, if it is...can anyone see anything wrong with my code? This is the error log I am getting: <Oct 7, 2008 10:20:29 AM MDT> <Error

  • SharePoint 2013 and SSRS

    Hi, We have ssrs reports in SharePoint 2013. Once ssrs reports deployed to sharepoint, will they run at sharepoint side or ssrs side, when the user retrieves specific data using filters. We are having performance issues, trying to trouble them. Perfo

  • Can iBooks be loaned to other iBook users?

    Can iBooks be loaned to other iBook users? Kindle has this capability. I think it wood not be that difficult for Apple to create this service for it's customers. What's the point of having only books you can never share. If this is the case I might a