TDM-Excel-Add-In controlled by vba

Hello
We've got an application that generates many TDMS-Files. Now I have to import these files to Excel.
I use the TDM-AddIn and this works fine when I do the import manually.
But I'd like to automate the import using VBA.
I tried the trick with "SendKey" (see http://forums.ni.com/ni/board/message?board.id=60&message.id=5441&query.id=12678#M5441)
but this works (on my systems) only with Excel 2003. Unfortunatelly it has to work with Excel 2007 as well.
Has anyone an idea in this direction?
Many thanks
Raffael

Hi Raffael,
your question is very interesting. I used my contacts and asked at R&D for DIAdem in Aachen for any informations on this. They told me that there is a new version of the Excel-Add-In planned for release in nearly 2 weeks. This means you should wait a little bit and then you can use a new API with several features like VBA-Programming and also something like controlling the Excel-Add-In from DIAdem-Script.
I gave the link you posted in this forum, to the developers and they will reply there as soon the release is finished.
Best regards
Alexander Rudolph
NI Switzerland

Similar Messages

  • TDM Excel Add-In truncate

    We're experiencing a wierd issue with the TDM Excel Add-In where data is truncating depending on from where the file is read.
    We haveTDMS (binary encoded data) files on a lab PC and copies of these files in a server folder.
    When we run the TDM Excel Add-In to import these files the behavior is different when it comes from a "local" drive versus when the same data file (binary compare confirms they are the same) comes from a server folder.
    We normally get ~8900 rows and when it is read from the server we get ~1400 rows per control.
    A test of a different server was also performed with the same baffling results.
    This previously worked as expected from both locations.
    Is anyone else seeing this issue?  Do you have a fix??

    Hi Perkin,
     Just to clarify, when you import from a local file, you are able to load the entire file (approx 8900 rows). However, when you load the same file from the server, you are only able to load a portion of the file (approx 1400 rows). 
    Does this happen every time you load the file?
    You mentioned that this used to work, do you know of any changes that you have made since that time? (Consider software installation, removal, firewall or network changes).
    If you try to load a smaller file (such as one with fewer than 1400 rows) does the entire file get loaded? 
     Also, please do let us know about your software versions, share types, etc. as AndreasK mentioned.
    Thanks, and have a great afternoon!
    National Instruments
    Applications Engineer

  • TDM Excel Add-In for Microsoft Excel will not install: Installation Summary No software will be installed or removed.

    Hello,
    My7 computer is running Windows 7, I have the Base installation of LabVIEW, and have Microsoft Office 2007 installed.
    I have downloaded the Add-In for Microsoft Excel from:
    http://zone.ni.com/devzone/cda/epd/p/id/2944
    unzipped it successfully (66 files created)
    searched for messages and updates  (No notifications.)
    and I get a screen reading:
    Start Installation
       Review the following summary before continuing.
    Installation Summary
       No software will be installed or removed.
    The "Next" button is grayed out, leaving "Save File" "<<Back" and "Cancel"
    Does anyone have a suggestion why I am unable to go any further?
    Thank you,
    Solved!
    Go to Solution.

    Are you sure it hasn't been installed before? Under Control Panel...Programs and Features...National Instruments Software...do a "Change/Remove" and look down the list for "NI TDM Excel Add-In verX.XX". If found, uninstall and re-run the installer for the newest version.
    This might help as well.
    “A child of five could understand this. Send someone to fetch a child of five.”
    ― Groucho Marx

  • TDMS Excel Add-in Does not support new Excel 2007 Row Limit

    First off I would like to say the TDM/TMDS format is really useful. It allows you to do all kinds of things that would be a real pain if you tried to do it with tab delimited spreadsheets. You can format data into excel sheets for analysis with seperate tabs and channel names over the columns and the whole nine yards. You can even throw error messages into the properties that show up on the first tab.
    The problem occurs when the user is working with really large files. Excel 2003 and all previous versions of Excel have limits of 65,536 rows by 256 columns. Until the latest version of the TDM Excel Add-in if you tried to import files larger than this it would throw an error and wouldn't create any file at all. Now it imports a file and you specify the index, which is so much better. 
    Excel 2007 supports 1,048,576 rows by 16,384 columns! This is really useful. But the current version of the TDM Excel Add-In does not support the new row limit. Is there any way we can get a version of this for 2007 that supports the new row limits? It would be cool if the Add-in could auto-detect the version and change the import limits accordingly but that may be too much to ask. Has anyone else run into these problems?
    My client would like to record hour long files at 200Hz all day long. Thats 720,000 rows of data per file. Yes, thats a lot but excel can handle it. The TDMS importer cannot. Of course there are work arounds and we will have to use one if a new version of the TDM Excel Add-in is not made soon. Is there a new version coming? Please say yes.
    [will work for kudos]
    Solved!
    Go to Solution.

    I redownloaded the file. I couldnt figure out how to completely uninstall the verison of the TDM importer already installed, so I just tried to install the one i downloaded. The installer said "no software will be installed or removed" and I had to click cancel because there was no next option.
    I tried to import the data again with the importer and got the same 'selective import' dialog box again, limiting me to the 65,535 rows.
    Here is what I am getting.
    How do I uninstall the add-in so that I may reinstall it?
    I uploaded a copy of one of my tdms files to the ftp.ni.com/incoming directory for you to download and attempt to import.
    File: "442732.zip"  size: 82.2 mb
    A little more information about the tdms file
    The data is 14 columns of single precision float and is about 720k rows. There are four sections (sheets in the same excel document) with the data converted differently in each tab/section. The data is the same amount in each section as well. There are also a couple sections listing the constants and scalars used to convert the data, as well as the typical first page of tdms information about the data.
    [will work for kudos]

  • VBA Code for Excel Add-in Menu Items

    Howdy.
    Every month my team needs to execute the same process on a couple hundred documents. It's time consuming and inefficient to say the least, so I'm looking for a means by which to call a couple of the menu items on the Excel BPC Add-Ins menu via VBA. Specifically, Park'n'Go; Expand All; and Send and Refresh Schedules.
    Basically what happens is this:
    Open File
    Set Park'n'Go to Live
    Expand All
    Refresh and Send Schedules
    Set Park'n'Go to Offline
    Save
    Exit
    Loop
    I know how to loop through the files and directories, I just don't know the commands for the functions from the menu via code. The macro recorder can't help me, and I've even tried to mimic a user's actions by using mouse coordinates and clicks, but that doesn't work b/c it doesn't allow for the necessary load time from BPC.
    Any help would be extremely appreciated.

    Hey Jeff,
    here are some vba commands that may help you.
    Open a certain file: (you can assign "Path" to a button or range)
    Dim Path As String
    Path = Application.GetOpenFilename("All Files (.),.")
    Opening the Park 'n Go dialog box:
    Application.Run ("MNU_ETOOLS_PARKNGO")
    Expand All:
    Application.Run ("MNU_ETOOLS_EXPAND")
    Sending data and refreshing the workbook:
    Application.Run ("MNU_eSUBMIT_REFSCHEDULE_BOOK_REFRESH")
    Saving a file OFFLINE:
    Dim FName As String
    FName = InputBox(prompt:="Please enter filename")
    If FName = "" Then
    Application.DisplayAlerts = False
    ActiveWorkbook.Close
    Else
    ActiveWorkbook.SaveAs Filename:="c:\" & FName
    ActiveWorkbook.Close
    End If
    Application.DisplayAlerts = True
    Hope, that will help you
    Karsten

  • Issue with Excel add in

    Hi Experts,
    Some of the users receive the following error message while attempting to retrieve data on a previously-working query in essbase excel add in:
    "Essbase has encountered an internal Excel error. Your sheet will not be overwritten and none of your data will be lost. However, you are strongly urged to exit Excel and restart in order to clear up the problem"
    Also tried uninstalling and reinstalling Essbase client and also tried with essbase add in version 9.3.1.3, but nothing worked.
    Please let us know your thoughts on the below issue.
    Thanks,
    Raja
    Edited by: user647562 on Apr 27, 2009 1:21 PM

    I, too, would recommend rebuilding the workbook.. Excel workbooks can get some funny behaviors, particularly if they contain VBA code. VBA in Excel stays 'semi-compiled' and never really clears itself out and a bunch of phantom references remain (and are completely hidden). I have seen some very strange behavior cleaned up by rebuilding the workbook..
    My old friend, Excel MVP Rob Bovey, has a utility specifically built to rebuild workbooks at http://www.appspro.com/Utilities/Utilities.htm.
    Tim Tow
    Applied OLAP, Inc

  • Essbase Excel Add-in in 11.1.2.1

    Hi All,
    We have Essbase 9.3.1 in our current configuration with Excel Add-In.
    We want to migrate to Essbase 11.1.2.1 but we still want to use Excel Add-In, as we have VBA Macros.
    Please help me regarding this.
    Thanks
    Satya

    So what's the issue? The add-in is alive and well in Essbase 11.1.2.1.
    You might want to look at the very latest and greatest version of Smart View as it gives you near parity (really, really, really close) with the add-in. Yes, I know, VBA requirements, but worth a look.
    Regards,
    Cameron Lackpour

  • IBP 4.0 FP1 Excel Add-in in Mac

    Hi,
    In Mac OS X Yosemite, I'm running a windows VM, which has Office '13 PRO installed on it. When I try to install my IBP 4.0 FP1 excel add-in on to the VM, the installation fails with the attached error:
    Any idea on how to resolve this?
    Regards,
    Chendur

    Downloading and installing the VBA module resolved this issue.
    Installing EPM add-in on Microsoft Office 2013: Fix for Visual Basic For Application 2013 Or Later Needed Error.

  • Intercepting Excel Add-In Requests

    <p>I'm trying to intercept Excel Add-In requests before they aresent. Basically, every time a user retrieves data or executes aLinked Reporting Object, I want to execute a piece of VBA code.</p><p> </p><p>I think this functionality is implemented in Essbase Helperutility available on dev.hyperion.com but it's more of a generalquestion, which is not really related just to that particularutility.</p>

    Yes it does not work.
    Yes you are correct.
    In general life is not fair. In the above case the Web UI is a better alternative.
    Unless you could cut and paste from another Excel Row to the one you are setting (ie correct code) or if you are setting a bunch of rows to the same Domain Based code.
    So say for All green pens the buyer is Joe. (Joe is a domain based entity byer). I would filter the pens for green pens all the way at the start and then set all buyers to Joe...
    Also maybe you can set it with a Business Rule and avoid the headache that way.
    Ok this is a big Excel limitation you are 100% correct.

  • Remove Excel add-in toolbar in XL 2007

    How can I remove Excel add-in toolbar in Excel 2007, without uninstalling Essbase client ?
    I managed to remove the menu entries, but not the toolbar in the add-in ribon.
    Is XL add-in supported on XL 2007 ?
    Regards
    (Release 9.3.1)
    Edited by: user643304 on 26 sept. 2008 07:11

    Depending on your version, it is not supported (7.1.6 and above are supported, IIRC). They work with relatively minor issues, however (a search of Excel 2007 in this forum will tell you more than I can quickly summarize).
    To remove the customer toolbar, just right click on any of the toolbar's controls -- one of the options should be to delete the customer toolbar. Easy, but not obvious.

  • Admiright Problem with Tdms Excel Automation

    Hi
    i have a problem with the TDMS Excel Plugin. I normally have now Administrator Rights on my Computer. So i got the Administator Rights to install the TDMS Excel Plugin. After i had the rights, i installed the Plugin and everything works fine. Then i wrote a VBA script with automatically imports TDMS Files and Copy &Paste Values in a new Excel sheet. Thes macro also works fine. After a while i lost my Admin Rights and i am a "Normal" user again. But with no more Admin-rights my macro doesn't work any longer. There is a error messange which tells me that " ...only a Administator can connect or disconnect the Plugin..."
    The normal manual import with the Plugin still works.
    Can anybody help me with this probblem?
    Thanks

    Bump...
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • Installing Essbase Excel Add-in on 11.1.2 and Excel 2007

    Hi All,
    Just wondering if anyone has had any success installing the excel add-in (essexcln.xll) on Office 2007 and 11.1.2? I've been trying over the weekend, so that I can start using the vba api with essbase and I'm having no luck. I've tried the essexcln.xll at (installed drive)\oracle\Middleware\EPMSystem11R1\products\essbase\bin and I'm getting a "file is in a different format than specified by the file extension" message box, and a whole spreadsheet of random characters.
    I've also tried installing the add-in through the patch created for 11.1.1.3. The add-in works, but if I try to use the API to open an outline, I get an "outline too new" error.
    Anyone have any hints?
    Thanks in advance,
    Nathan

    Hi John,
    Thanks for the help. So I've tried installing the add-in both on Windows Server 2003 and Windows Server 2008, and I'm still getting the "The file you are trying to open, 'essexcln.xll', is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?" message box. I've tried running excel as an administrator, then adding the add-in through excel's add-in menu.
    When I open the file, the first line of the sheet says: This program cannot be run in dos mode.
    Also, both servers are 64-bit. I'm unsure if this could affect the add-in working.
    Thanks in advance,
    Nathan

  • Will Oracle be making any enchancements to the Essbase Excel Add-in?

    Will Oracle be making any enchancements to the Essbase Excel Add-in?

    If you use vb script, you can use the following:
    ' Step 3. Activate Essbase Excel Add-Ins
    Set myAddIn = XL.AddIns.Add("C:\Hyperion\Essbase\Bin\essexcln.xll")
    myAddIn.Installed = False
    myAddIn.Installed = True
    You need to find the equivalent of the above within excel vba.
    And also the right location of the essexcln.xll.
    With citrix, I guess the issue is with the user profile under
    \Documents and Settings\ that need to be adjusted, but I have
    no further information on this.

  • Excel Add-In with Terminal Services

    Hello Everyone<BR><BR>Does anyone have any experience using the Excel Add-In with a terminal services session (remote desktop)? Local box administrators have no issues but when a non admin user starts MS Excel, they get a VBA runtime error (essexcln.xll not found) Closing that window and attempting to install the add-in via Tools >> Add-Ins >> and browsing to the essexcln.xll file returns the error "essexcln.xll is not a valid add-in"<BR><BR>Seems to be a rights issue but the users have full rights to the folder where the add-in is located (Hyperion\AS\bin\) .<BR><BR>Thanks in advance for any tips.

    Check the file permissions on c:\winnt\system32\msvcr71.dll. This needs to be 'Read/Execute' for 'everyone'. The add-in installation only gives permissions to the User who is installing the add-in. Which causes problems when other users need to access the Add-in. (Similar problem on Citrix / TS). <BR><BR>James Archer

  • 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

Maybe you are looking for