When calling Excel 97 Macro from Labview 5.1, get error: cant find macro!

I have a macro written that I am trying to call from Labview. To assist in this task I downloaded an Excel Macro VI off the NI Websight. The VI came with an excel workbook that included a sample macro. I can run the example with no problems. I then modified the VI to fit what I am trying to do. I can get it to work with the Sample excel macro but not the one I created (I get an error saying it can't find the Macro). I have played with the timing and that has not worked. I have also noticed that when I use the sample Macro, it will work fine for a while then after a random number of executions, it will stop working and I will get the same error as with my Macro. In order to get it working ag
ain, I have to remove the sample worksheet (macro) and replace it with the original copy. I have been pulling my hair out for a couple of days now with this one so any help would be greatly appreciated!

I am not sure what the problem could be. The VI you speak of can be found at the following link:
http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/190d1f351297ef9a862567740073e2bc?OpenDocument
I ran the program for excel 2000 on my LabVIEW 6.1 about 50 times and did not get the error you reported. Your macro should not be corrupted with use. Have you considered reinstalling excel? I liked the idea about turning off multithreading. Do you see the same behavior if you run in high light execution mode?
Jeremy Braden
National Instruments

Similar Messages

  • When attempting a restore from Time Machine I get error code -8004. What is this and how can I correct it?  Thanks

    when attempting a restore from Time Machine I get error code -8004. What is this and how can I correct it?  I use OX 10.9.3
    Thanks

    Run it in compatibility mode and input the credentials.
    Mylenium

  • While calling rwrun.sh from unix, i am getting error

    Hi,
    I am calling rwrun.sh from linux.
    But, sometimes, it is generating the file and sends mail. but sometimes, throws the below error.
    REP-0736: There exist uncompiled program unit(s).
    REP-0069: Internal error
    REP-50002: Server is shutting down
    This is the command i am using.
    $ORACLE_HOME/bin/rwrun.sh userid=anantgop/kolahal123\[email protected] report=an_stati destype=mail desname="[email protected]" desformat=SPREADSHEET ip_rep_id='AN_STATI'
    Could you please anyone guide me whether i need to increase any timeout parameters anywhere.
    Thanks & Regards
    A.Gopal
    Edited by: A.Gopal on Apr 27, 2010 11:47 PM
    Edited by: A.Gopal on Apr 27, 2010 11:52 PM

    Hi,
    you can use this code...
    import oracle.apps.fnd.cp.request.ConcurrentRequest;
    import oracle.apps.fnd.framework.server.OADBTransaction;
    public int submitCPRequest(Number headerId) {
    try {
    OADBTransaction tx = (OADBTransaction)getDBTransaction();
    java.sql.Connection pConncection = tx.getJdbcConnection();
    ConcurrentRequest cr = new ConcurrentRequest(pConncection);
    String applnName = "PO"; //Application that contains the concurrent program
    String cpName = "POXXXX"; //Concurrent program name
    String cpDesc = "Concurrent Program Description"; // concurrent Program description
    // Pass the Arguments using vector
    // Here i have added my parameter headerId to the vector and passed the vector to the concurrent program
    Vector cpArgs = new Vector();
    cpArgs.addElement(headerId.stringValue());
    // Calling the Concurrent Program
    int requestId = cr.submitRequest(applnName, cpName, cpDesc, null, false, cpArgs);
    tx.commit();
    return requestId;
    } catch (RequestSubmissionException e) {
    OAException oe = new OAException(e.getMessage());
    oe.setApplicationModule(this);
    throw oe;
    Now to go to the Monitoring page.
    set the forward url to
    String url = "OA.jsp?akRegionCode=FNDCPREQUESTVIEWREGION&akRegionApplicationId=0";
    try {
    pageContext.setForwardURL(url,
    null,OAWebBeanConstants.KEEP_MENU_CONTEXT, null,
    params, true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO,
    OAWebBeanConstants.IGNORE_MESSAGES);
    catch (Exception e)
    throw new OAException("SetDeferredException " +
    e.getMessage(),OAException.ERROR);
    }

  • When Moving Conditinon Tables from System to System getting Error

    Hi Guys
    We are doing an Upgrade project.
    We have made a client copy in System 1(all the Config's are moved)  and we are creating Transports for Config to move the same to System 2..
    when we are trying to create Transport of Condition Tables, we are facing issues
    1. It didnt allows as to save in Workbench request, was only allowing to create local request.  Then we rectified that.
    2. But now when we try to create it is giving this error message and now allowing us to transport..
    Message no. TK112
    Diagnosis
    The objects R3TR VKOI A686 und R3TR VKOS A686 cannot be edited together because the 1st object's original is in this system, whereas the 2nd object's original resides in another system.
    System Response
    The function is cancelled.
    Procedure
    Edit the two objects separately.
    Please Help
    Thanks

    Check this thread
    [Re: Info source issue DEmand Planning|Info source  issue DEmand Planning]
    thanks
    G. Lakshmipathi

  • CallerPrincipal when calling one sessionbean from another

    Hi all,
    I have a little problem when calling one sessionbean from another sessionbean. The problem is, that in the method, which is called, is used SessionContext's getCallerPrincipal().getName(). This works great from client, but from other sessionbeans getCallerPrincipal() retuns an "ANONYMOUS" principal. How can I set the correct principal (the principal from the first sessionbean)?
    Thank you
    My env: Glassfish 2.1.1, Netbeans 6.8, Eclipselink 2.0.0, Java 1.6.0.18
    My code:
    @Stateless
    public class ABean implements ASessionRemote{
    @Resource
    SessionContext ctx;
    @Override
    public void aMethod(){
    String name = ctx.getCallerPrincipal().getName(); // the name is ANONYMOUS, when the call is done from other sessionbean
    @Stateless
    public class BBean implements BSessionRemote{
    @Resource
    SessionContext ctx;
    @EJB
    private ASessionRemote aSessionBean;
    @Override
    public void bMethod(){
    aSessionBean.aMethod();
    }

    "This works great from client"
    What do you mean by this, i.e what sort of client are you using (stand alone app, servlet) ?
    what shows up if you printout the caller principal in the calling bean ?
    are the two ejbs in the same ear ?
    what security meta-information are you using in ejb-jar.xml and sun-ejb-jar.xml, if any ?

  • [svn:fx-trunk] 13201: Fix RTE when calling PopUpManager.createPopUp() from a module or sub-application.

    Revision: 13201
    Revision: 13201
    Author:   [email protected]
    Date:     2009-12-23 12:16:41 -0800 (Wed, 23 Dec 2009)
    Log Message:
    Fix RTE when calling PopUpManager.createPopUp() from a module or sub-application.
    This fix adds a moduleFactory parameter to PopUpManager.createPopUp() to allow a module or sub-application to specify the style manager to be used. Modules and sub-applications should always pass a moduleFactory to PopUpManager.createPopUp() or PopUpManager.addPopUp() to ensure the correct style manager is used when looking up styles. Otherwise the parent of the pop up is used to determine the style manager.
    QE notes: Please create a PerModuleStyles test that uses the new parameter to createPopUp().
    Doc notes: None.
    Bugs: SDK-24835.
    Reviewer: Alex
    Tests run: checkintests, Managers/PopUpManager
    Is noteworthy for integration: no
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24835
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IPopUpManager.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/PopUpManager.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as

  • I was updated my Iphone 4s from computer(ITunes).ITunes get error and update failed.(When Iphone is preparing.).And now ı can't use my IPhone.At the screen there is a USB cable and up of the screen there is ITunes' logo.PLEASE HELP!

    I was updated my Iphone 4s from computer(ITunes).ITunes get error and update failed.(When Iphone is preparing.).And now ı can't use my IPhone.At the screen there is a USB cable and up of the screen there is ITunes' logo.PLEASE HELP!

    Read what i say. Put iPhone in DFU mode. Connect with USB cable and restore.
    Read:
    http://www.apple.com/support/iphone/assistant/restore/

  • When i receive messages from my partner i get the from and email address and her phone

    when i receive messages from my partner i get the from and email address and her phone

    Hey "AppleTechGenius"...you realize the thread you're posting to is almost two years old, & the OP has not posted since that original post, correct?

  • When I am trying to run any OA page from jdev OA extension getting error

    when I am trying to run any OA page from jdev OA extension getting error
    When I am trying to run any OA page from jdeveloper, I am getting the following error.
    Failed to load "file:/D:/jdevhome/jdev/myprojects/oracle/apps/per/assistant/webui/SetupAssistantPG.xml" file.
    I felt the path of the file is wrong instead of D:/jdevhome, the path in above shows :/D:/jdevhome/jdev.
    I looked at the preferences and settings...but I could not get any clue to resolve this issue.
    Your help on thi issue is really appreciated.
    Thanks...

    Hi
    I am getting the same error.
    everything was running perfectly ..suddenly it started showing this error..i have checked JDEV_USER_HOME pointing to correct directory.
    but still it gives error as
    "file:/D:/development/jdevhome/jdev/myprojects/oracle/apps/pa/xxpa/assignment/webui/XXPAAssignResourcePG.xml" file.
    pls help

  • When connect the Database from Toad , Sqlplus giving the error

    when connect the Database from Toad , Sqlplus giving the error
    recent changes 12.1.1 installatiojn
    Oracle SQL plus encountered a problem and needs to close we are sorry for convenienvce
    Oracle Forms Designner has encountered a probloem and needs to close we are sorry for the convenience
    Thanks & Regards,
    sree

    when connect the Database from Toad , Sqlplus giving the error recent changes 12.1.1 installatiojnHave you tried using the same user via simple sqlplus on the database server or apps tier server itself? Please try the same database user/login on the database server using the sqlplus available on the server itself. See what message do you get. If the the login happens, then try with the tns entry e.g. sqlplus username/password@prod and see if that works on the db server. If both of these conditions work the check where is Toad picking up the tns entry from on the client pc/laptop. If first test fails, then check if the account is locked.
    Hope this helps.

  • When emailing a photo from the updated iPhoto, how do I find the CC and BCC button, and how do I send to a group from my address book?

    when emailing a photo from the updated iPhoto, how do I find the CC and BCC button, and how do I send to a group from my address book?

    The email function from iPhoto is pretty basic. The only Bcc available is to yourself (in iPhoto > Preferences > Advanced), cc: does not appear to be available at all, and it does not appear you can email to a group.
    You can change this by going to iPhoto > Preferences > General and next to where it says Email photos using: select Mail. If you do this you have all the options available in Mail including Cc: and Bcc: and the ability to drag a group from Address Book into the mail addresses.
    Best of luck.

  • When saving Quicktime.mov from final cut it says error or memory full. I have 16tb of memory between 4 drives any insight?

    when saving Quicktime.mov from final cut it says error or memory full. I have 16tb of memory between 4 drives any insight?

    I've shutdown, restarted and opened project and saved again. but it still reads the same...

  • When call up GO HOME ALL DOCUMENTS-I get hundreds of images

    When call up GO>HOME>ALL DOCUMENTS-I get hundreds of images
    some repeated many times-why?

    See:
    * [[Firefox keeps opening many tabs or windows]]

  • I have a new I Mac running mountain lion. When waking the computer from sleep, all I get is a blue screen. I have to restart the computer.

    I have a new I Mac running lion 10.7. When waking the computer from sleep, all I get is a blue screen. I have to restart the computer.

    Did you not bring all your important data over from your old computer? Do you have a backup of the iTunes library that you can restore? If not, then its not to late, just more work that it should be.
    You should be able to:
    Backup the device to the new installation
    Transfer your purchases into a newly authorized library
    Recover any other media using third party tools as suggested in this post from forum regular Zevoneer
    Restore the device from the backup
    This process should switch the association of the device to the new library, preserving the data and settings in your apps.
    May also be prudent to attempt a backup to iCloud directly from the device before you start... Settings > iCloud > Storage & Backup > iCloud Backup > On. It won't save any media but it would preserve the general account settings and documents in case anything goes wrong while you are trying to extract your other data.
    When you get it all fixed, make a backup!
    tt2

  • When I try to open Photoshop CS6 I get "Error Code 16"

    When I try to open Photoshop CS6 I get "Error Code 16"
    I have researched Internet - ADOBE and others - to find a solution, but no luck! (see under)
    The problem started around one year ago but I was able to open Bridge and go to Photoshop from there until recently.
    Now I get "Error Code 16" in Bridge too when I am trying to go to Photoshop.
    I have tried everything I could think of (including creating a new Administrator-user) with help from my Internet research and my own pretty good experience (I started working with computer systems as a Systems Analysts 1968...... - now it is only PCs)
    I miss my Photoshop and Bridge a lot - it is very frustrating to have this problem, but I can see I am not the only one!!!
    I also have these Adobe products:
    Adobe Photoshop
    1045-1297-1724-5553-8938-xxxx
    Adobe InDesign
    1037-1476-0290-3491-8464-xxxx
    Adobe Audition
    1137-1169-5106-2253-7226-xxxx
    Adobe Photoshop
    1045-1007-5934-1160-3319-xxxx
    Adobe Photoshop Elements
    1057-4535-7945-2468-2014-xxxx
    and some more.
    I am grateful for all help.
    /// Björn Andrén   -   [email protected]   (member ID)
    =======================================================================
    Configuration error 16 when you start a Creative Cloud (CC) or Creative Suite (CS) application
    https://helpx.adobe.com/x-productkb/policy-pricing/configuration-error-cs5.html
    ========================================================================
    Adobe CC/CS6 - Error 16 and no SLStore or PCD File
    https://forums.adobe.com/message/7157810
    https://forums.adobe.com/thread/1243845?tstart=0
    =========================================================================
    How to Erase an Adobe Registration File
    http://smallbusiness.chron.com/erase-adobe-registration-file-45714.html
    =========================================================================
    Why can't I open Photoshop CS6? Missing Adobe PCD and SLstore folders!?
    https://answers.yahoo.com/question/index?qid=20130608085953AAuWzEA
    ========================================================================
    Issue with getting an Error code '16' if trying to install Adobe Photoshop CS5
    http://thedailybuggle.com/forum/issue-getting-error-code-16-if-trying-install-adobe-photos hop-cs5-66.html
    ========================================================================
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    https://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html
    Mon Feb 09 17:24:22 2015] ---------------------------------------------------------
    [Mon Feb 09 17:24:22 2015] *=*=*=*=*=*=*=*=* :: Start Session :: *=*=*=*=*=*=*=*=*=*
    [Mon Feb 09 17:24:22 2015] ---------------------------------------------------------
    [Mon Feb 09 17:24:22 2015] Win OS Version: 6.1
    [Mon Feb 09 17:24:22 2015] Cleaner Tool version        : 2.0.0.0
    [Mon Feb 09 17:24:22 2015] Cleanup source directory    : C:\Program Files (x86)\Common Files\Adobe\AdobeCreativeCloudCleanerTool
    [Mon Feb 09 17:24:22 2015] [AdobeProgramFiles]        : C:\Program Files (x86)\Adobe
    [Mon Feb 09 17:24:22 2015] [AdobeProgramFiles_x64]    : C:\Program Files\Adobe
    [Mon Feb 09 17:24:22 2015] [AdobeCommon]            : C:\Program Files (x86)\Common Files\Adobe
    [Mon Feb 09 17:24:22 2015] [AdobeCommon_x64]        : C:\Program Files\Common Files\Adobe
    [Mon Feb 09 17:24:22 2015] [UserRoamingAppData]        : C:\Users\BEAR2\AppData\Roaming
    [Mon Feb 09 17:24:22 2015] [UserLocalAppData]        : C:\Users\BEAR2\AppData\Local
    [Mon Feb 09 17:24:22 2015] [StartMenu]                : C:\ProgramData\Microsoft\Windows\Start Menu\Programs
    [Mon Feb 09 17:24:22 2015] [System32Folder]            : C:\Windows\system32
    [Mon Feb 09 17:24:22 2015] [SharedApplicationData]    : C:\ProgramData
    [Mon Feb 09 17:24:28 2015] Language selected: English
    [Mon Feb 09 17:24:28 2015] Displaying the Adobe End User License Agreement
    ADOBE
    Gen_WWCombined-en_US-20121017_1230
    [Mon Feb 09 17:24:28 2015] Please enter (y) for Yes or (n) for No. ... >>
    [Mon Feb 09 17:24:38 2015] Choose from one of the following options to clean up :
    [Mon Feb 09 17:24:38 2015] 1.  All
    [Mon Feb 09 17:24:38 2015] 2.  Adobe Flash Player 10.2
    [Mon Feb 09 17:24:38 2015] 3.  Creative Cloud 2014 , Creative Cloud & CS6 Products
    [Mon Feb 09 17:24:38 2015] 4.  Creative Cloud 2014 only
    [Mon Feb 09 17:24:38 2015] 5.  Creative Cloud only
    [Mon Feb 09 17:24:38 2015] 6.  CS6 only
    [Mon Feb 09 17:24:38 2015] 7.  CS5-CS5.5-CS6
    [Mon Feb 09 17:24:38 2015] 8.  CS5-CS5.5
    [Mon Feb 09 17:24:38 2015] 9.  CS3, CS4
    [Mon Feb 09 17:24:38 2015] 10.  Adobe Id credentials
    [Mon Feb 09 17:24:38 2015] 11.  Quit
    [Mon Feb 09 17:24:38 2015] Choice :>
    [Mon Feb 09 17:24:44 2015] User selected: CS6 Only
    [Mon Feb 09 17:24:44 2015] Executed the command : call copy /Y "C:\Program Files (x86)\Common Files\Adobe\caps\pdb.db" "C:\Program Files (x86)\Common Files\Adobe\backup20150209T172444\pdb.db"
    [Mon Feb 09 17:24:44 2015] Executed the command : call copy /Y "C:\Program Files (x86)\Common Files\Adobe\caps\Media_db.db" "C:\Program Files (x86)\Common Files\Adobe\backup20150209T172444\Media_db.db"
    [Mon Feb 09 17:24:44 2015] Opened DB connection with path: C:\Program Files (x86)\Common Files\Adobe\caps\pdb.db
    [Mon Feb 09 17:24:44 2015] DB does not exist at: C:\Program Files (x86)\Common Files\Adobe\caps\Media_db.db
    [Mon Feb 09 17:24:44 2015] List of products installed on this machine
    [Mon Feb 09 17:24:44 2015] Listing products for cleanup:
    [Mon Feb 09 17:24:44 2015] Please enter the option number of the product you wish to remove; enter (q) to quit ... >>
    [Mon Feb 09 17:25:02 2015] response 1
    [Mon Feb 09 17:25:02 2015] Are you sure you want to clean all the listed products and associated files?
    [Mon Feb 09 17:25:02 2015] Type (y) to confirm and remove or (n) to quit ... >>
    [Mon Feb 09 17:25:07 2015] Please wait for Adobe Creative Cloud Cleaner Tool to finish........
    [Mon Feb 09 17:25:07 2015] User selected: 'Clean All'
    [Mon Feb 09 17:25:07 2015] *-*-*-*-*-*-* Start removing product : ALL *-*-*-*-*-*-*
    [Mon Feb 09 17:25:07 2015] *-*-*-*-*-*-* Finished removing product : ALL *-*-*-*-*-*-*
    [Mon Feb 09 17:25:07 2015] Action : Deleting the C:\Program Files (x86)\Common Files\Adobe\backup20150209T172444 folder as there is no product deleted.
    [Mon Feb 09 17:25:07 2015] LOG FILE SAVED TO: C:\Users\BEAR2\AppData\Local\Temp\Adobe Creative Cloud Cleaner Tool.log
    [Mon Feb 09 17:25:07 2015] Adobe Creative Cloud Cleaner Tool completed successfully
    [Mon Feb 09 17:25:07 2015]
    [Mon Feb 09 17:25:07 2015] *-*-*-*-*-*- ::START:: - SUMMARY OF Warnings -*-*-*-*-*-*
    [Mon Feb 09 17:24:44 2015] DB does not exist at: C:\Program Files (x86)\Common Files\Adobe\caps\Media_db.db
    [Mon Feb 09 17:25:07 2015] *-*-*-*-*-*- :: END :: - SUMMARY OF Warnings -*-*-*-*-*-*
    [Mon Feb 09 17:25:07 2015] ---------------------------------------------------------
    [Mon Feb 09 17:25:07 2015] *=*=*=*=*=*=*=*=* :: End Session :: *=*=*=*=*=*=*=*=*=*=*
    [Mon Feb 09 17:25:07 2015] ---------------------------------------------------------
    [Mon Feb 09 17:28:53 2015] ---------------------------------------------------------
    [Mon Feb 09 17:28:53 2015] *=*=*=*=*=*=*=*=* :: Start Session :: *=*=*=*=*=*=*=*=*=*
    [Mon Feb 09 17:28:53 2015] ---------------------------------------------------------
    [Mon Feb 09 17:28:53 2015] Win OS Version: 6.1
    [Mon Feb 09 17:28:53 2015] Cleaner Tool version        : 2.0.0.0
    [Mon Feb 09 17:28:53 2015] Cleanup source directory    : C:\Program Files (x86)\Common Files\Adobe\AdobeCreativeCloudCleanerTool
    [Mon Feb 09 17:28:53 2015] [AdobeProgramFiles]        : C:\Program Files (x86)\Adobe
    [Mon Feb 09 17:28:53 2015] [AdobeProgramFiles_x64]    : C:\Program Files\Adobe
    ================================================================================
    OS Name    Microsoft Windows 7 Professional
    Version    6.1.7601 Service Pack 1 Build 7601
    Other OS Description     Not Available
    OS Manufacturer    Microsoft Corporation
    System Name    BEAR-PC
    System Manufacturer    System manufacturer
    System Model    System Product Name
    System Type    x64-based PC
    Processor    Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz, 3401 Mhz, 4 Core(s), 8 Logical Processor(s)
    BIOS Version/Date    American Megatrends Inc. 0801, 2011-08-15
    SMBIOS Version    2.6
    Windows Directory    C:\Windows
    System Directory    C:\Windows\system32
    Boot Device    \Device\HarddiskVolume1
    Locale    United States
    Hardware Abstraction Layer    Version = "6.1.7601.17514"
    User Name    BEAR-PC\BEAR2
    Time Zone    Eastern Standard Time
    Installed Physical Memory (RAM)    16.0 GB
    Total Physical Memory    16.0 GB
    Available Physical Memory    12.1 GB
    Total Virtual Memory    31.9 GB
    Available Virtual Memory    28.1 GB
    Page File Space    16.0 GB
    Page File    C:\pagefile.sys

    Run the cleaner tool and reinstall.
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    Download CS6 products
    Mylenium

Maybe you are looking for

  • Changing itunes connect account

    hello all, i registered time ago a itunesconnect account with the authorization of book distribution. I never uploaded a book, i now have a developer account in my apple id but i can't upload app. Is there a way to change my itunes connect account ty

  • Count the number of rows in a workbook.

    Hi Experts , I have a requirement to count the number of rows in a WorkBook.Will it be possible to do this by creating a KeyFigure?Or are there any options in BEx to count and display the number of Rows.Many thanks for all your help.

  • Usb, firewire, bluetooth all do not work

    I downloaded the most recent update for my OS X tiger software, and ever since the download my bluetooth mouse won't pair with the computer, I can't use my usb jump drive, my ipod is not recognized, and I can't download .dmg files because after they

  • Problem opening the link

    when i am clicking any link in the web page i am getting a pop up box like "Do you want to save this file"

  • HT4972 when I try to update through itunes a message says can't connect because of network connection problems

    when I try to update throught itumes a message says cant connect because of a network connection is unavailable, yet we have internet connection. what is it talking about?