Making and running excel or word macros

i would like to make a excel or word macro and run it in labview, but
i don´t want to run without view the code directly in labview because
i will need to modify the code in order to do differents things
depending of the choose that i can make when the program it´s running
so the answer is: how can i see the macro code in labview in and excel
or word application and how to run it?
don´t answer the solution it´s easymacro.com, couse i am a student and
i need to see the diagram in order to learn
thanks!

I think ActiveX is what you need, but you'll have to elaborate a bit to modify and run macros. Look at the examples shipped with LabVIEW about controlling Excel, and see how those work. After that, you'll see that almost anything can be done using ActiveX.
Good luck

Similar Messages

  • Create PDF and run action does not actually run the action after producing the pdf from word

    When I select "Create PDF and Run Action" in word it does not actually run the action in Acrobat it just sets the tool, why?

    Hi Amerispec,
    Thank you for posting on the forums, Please explain the workflow steps along with the version of the Adobe Acrobat and OS you are working on.
    thanks,
    Vikrantt Singh

  • I am using LABview 5.0 and I am having difficulty with running EXCEL 2000 and my macros after I build an application.

    Excel opens and runs the macros correctly in my development programme, but when I build an application and try to run it, Excel opens but does not put the data into the cells or run the macros. Excel opens and runs the macros correctly in my development programme, but when I build an application and try to run it, Excel opens but does not put the data into the cells or run the macros.
    The error message is 'Object is not registered in set cell value.vi code-2147220997
    I stress that it all works OK until the application is built. Set cell value.vi was downloaded from this site. I am using Windows 98.
    Any help would be appreciated.

    Be sure you have your Excel activex controls properly registered in your system, there are lots of activex registerers in the web. If this does not work, look at set cell value vi and check for invalid refnums. If even this fails, i'd try reinstalling app builder, but be sure you install it before any LV update (for example 5.0.1f1) unless you want problems like i had with Excel built examples. You can also send an example, and see if i can fix it, but i don't have excel 2000 (only 97) so i don't know if i can do anything else.
    Hope this helps

  • How to run Excel Macros using JDBC-ODBC

    Hi,
    I want to run the excel macros in the excel file, after I connected to excel file, using JDBC-ODBC bridge.
    How macros treated here?
    Help needed please..........
    - Ramesh

    How to run Excel Macros using JDBC-ODBCYou don't.
    As my fuzzy understanding goes.....
    Macros (excel, word, etc) run via a "OLE" extension of the script host system.
    So the only way to run them is via the OLE interface. That has nothing to do with ODBC. You can write your own JNI to do that, or you might get lucky and find that someone else has written a java library to do it for you.

  • Running Excel macro to format sheet from Labview?

    Hey, thanks in advance.
    I am trying to put together a VI that can run a macro in Excel. The macro I recorded simply formats some of the cells to be bold, sets the widths/heigths, merges some cells, adds some border, etc. I have been trying to piece together a bunch of examples from the discussion forum, from LV, etc. for doing this with ActiveX. I'm really starting to bang my head on the desk... all I need to do is make all the data my program sends to Excel pretty without having the operator (or supervisor) have to do this manually.
    Does anyone have an example of a program that opens a file based on an extension you give it, runs a macro, then closes the file? Or other suggestions for doing this?
    All the other examples I've looked at are different enough that I just can't make it work.
    Thanks a million!

    Well adam welcome to the world of active x. One trick I have learned with using it is when I want to do something in the program that uses macros (ie word, excel.) then what I do is create the macro and look at the code, then I will usually duplicate the code in labview using invoke and property nodes just because I do it that way does not mean it is the best way. I do it this way so I do not have to worry about someone deleting the macro. But running the macro is not trivial if you decide to go that route. Here are a bunch of vi's that will help you out.Message Edited by jhoskins on 04-27-2005 09:00 AM
    Message Edited by jhoskins on 04-27-2005 09:00 AM
    Joe.
    "NOTHING IS EVER EASY"
    Attachments:
    Excel and word toolkit.zip ‏2013 KB

  • Working with Word Templates and signed Word macros storing documents in SAP

    HI,
    we are storing word documents in the SAP BDS. The documents contain macros. The security settings for word macros cannot be reduced in our environment.
    So the documents / macros were signed. They work well. but as soon as they have been stored in the SAP BDS, we get the error message "You have modified a signed project.You do not have the correct key to sign this project. The signature will be discarded"
    After that the word macros do not run.
    Does anybody know this problem and the solution?
    Regards
    Harald

    And this is related to workflow in what way?
    Regards,
    Martin

  • Can I run Excel 2007 in Boot Camp and run XLSM files?

    Since I have found no way to run Excel 2007 files with macros (xlsm format) on a Mac using Excel 2004, 2008 or NeoOffice, does Boot Camp offer support for running Excel 2007 with V.B. Macros? How about in Fusion or Parallels? Anyone know? Any PC switchers out there who have done this?

    I read somewhere that there was a problem with certain incompatibilities in the hardware. I guess the only thing to do is just install everything and test the macros. It'll work or it won't. I'll post the results when I have them. Thanks.

  • Can you recommend an app to run excel documents off line and let the files be saved to the ipad not over a network connection

    Can anyone recommend and app for ipad mini to run excel documents offline and let the files be saved ot the ipad hard drive. I am frequently out of network range and need to be able to run the sheets.

    All of the "Office" document editing applications on the iPad have limitations.  Best try them out to see if they meet your needs.
    iWork by Apple
    Keynote
    Numbers
    Pages
    DocsToGo
    • VIEW/EDIT/CREATE Word & Excel files(Office 2007/2008/2010)
    • VIEW PowerPoint, PDF, iWork, Text, .RTF, and more!
    • Send & receive attached supported documents using the built-in Mail app
    • FREE desktop application with your purchase! Compatible on Win & Mac allows you 2-way file sync with a WIFI connection.
    • Open & Edit files within DocsToGo from any 3rd party app that supports the “Open In” feature
    • Supports iTunes File Sharing via USB cable for manually moving files
    https://itunes.apple.com/us/app/documents-to-go-office-suite/id317117961?mt=8
    Office² HD
    "Office² HD, the most intuitive and straightforward office document editor available on the iPad, makes it easy to open, view, create and edit Word (DOC & DOCX), Excel (XLS & XLSX), and PowerPoint (PPT & PPTX) files right from your iPad!"
    https://itunes.apple.com/us/app/office2-hd/id364361728?mt=8
    Quickoffice Pro HD
    Create and edit ALL Microsoft® Office -- document, spreadsheet, and presentation formats, as well as view PDF files, on the go. Our advanced file manager lets you manage local files, access Google Drive or other cloud accounts, and works with your iPad email attachments so you can work anywhere, anytime - online and offline.
    https://itunes.apple.com/us/app/quickoffice-pro-hd-edit-office/id376212724?mt=8
    nsdjoey presents ways to edit office documents in this web page:
    https://discussions.apple.com/message/21953221#21953221

  • Downloaded Mountain Lion and lost support for Word, Excel, and PowerPoint.

    Downloaded Mountain Lion and lost support for Word, Excel, and PowerPoint. Anyone know how to get it back?

    Odds are you running Office 2004, which is coded in PowerPC code. PowerPC is no longer supported.
    You either must upgrade the newer version  of Office that will work or downgrade OS X.
    Allan

  • Need to open in ms-word and ms-excel

    Hi, I using DataTable for displaying the results, so I want to open the results in ms-word and ms-excel using the comment link or button at run time, how can i do this any ideas?
    Thanks
    Srikanth

    response.setContentType("application/msword");
    <%@ page contentType="application/vnd.ms-excel" %>
    please refer:
    http://forum.java.sun.com/thread.jspa?forumID=45&threadID=233446

  • When running an xml publisher report the xml output leads to 9 mb and the excel output file leads to 20 mb.But the output records is originally 4000 records. When copy to new excel it is showing 3.5 mb only. Does anyone knows the answer for this issue?

    When running an xml publisher report the xml output leads to 9 mb and the excel output file leads to 20 mb. The records contained in excel file is 4000 records. When taking the excel records and copy to new excel file the excel file size is 3.5 mb only.Why does the oracle software generates 20mb file?
    Does any one knows the answer please advice?

    Hello,
    This issue is because the Excel output from BI Publisher is MHTML (XML Publisher generates XHTML) not binary .xls.
    MHTML and XHTML are more verbose formats than binary .xls.
    It will be large because the current Excel output is just an HTML and not compressed like PDF. Please use the workaround (save it as .xls file).  This is a known limitation of RTF layout templates.
    BI Publisher Enterprise has a new feature True Excel Templates. The layouts generate binary Excel output.
    Excel Output File Size Generated By BI Publisher is Very Large (Doc ID 760437.1)
    Bogdan

  • Exporting simple tables in pdf to Excel or word and maintain correct text/column flow.

    Even with a black and white, clear scan at high settings, my exports to Word/Excel result are poor.  Text is recognized but not in the correct sequence for editing.  I find myself using the column select (Alt key) feature and exporting columns one at a time!  When exporting to Excel, the contents of one cell in the pdf table ends up in 20 cells in Excel among many other misalignments.  When exporting to word, it's a mess of tabs/graphics/paragraph returns...etc.  I find myself selecting the text in 25 or so graphic text boxes!
    Appears that many people have the same experience but I haven't seen a solution as advertised by Adobe.  It appears so easy on video.
    Can anyone recommend a step-by-step proven method (Win 7, Acrobat X, Office 2007, InDesign CS5.5)?
    Txs!

    I am not sure about what video, but my guess is that was a PDF produced from Excel or WORD with PDFMaker. In such a case, it would have tags and all that would retain all of the information you need. When you are working with a scanned document, you have no such tag info that provides layout info (like cell locations and such). There are some 3rd party products that are said to do a better job in such cases, but often cost as much as Acrobat and only do the conversion. If you can point out the video, then maybe we can discuss aspects of what you are doing compared to the video.

  • Printing issues with Word and embedded excel

    we are using word 2003 with embedded excel blocks.  The issue is we have a 9040n printer in one office where the document is created, but when we come to another office and try printing the word document on a 9050 printer, the document looks different.  I've tryed using current pcl 6 drivers on both printers with no luck, and now if have ther 9040 PCL 6 driver on both printers with the same issues happening?  Any Ideas, please help!!
    Brad

    I came across your question and wondered if you could help me. I just bought a macpro with leopard and am having a heck of a time getting it to work with my design jet 800ps which is connected by usb cable. I installed the driver for the printer from the leopard cd but to no avail. The printer shows up in the printer list but when I send a file nothing happens. I have been on the phone with HP but nothing seems to make a difference.
    Thanks much

  • I want to create a Pdf file - do i misunderstand the product?  I thought i could create a PDF similar to excel or word file or do i have to create there and convert to PDF? I bought the pack for $89.PDF Pack!

    I want to create a Pdf file - do i misunderstand the product?  I thought i could create a PDF similar to excel or word file or do i have to create there and convert to PDF? I bought the pack for $89.PDF Pack!

    Hi Brian,
    You can create it in Word or excel and then you can Convert it into .pdf Format
    Here's a feature list that depicts benefits of PDF pack: Convert Word to PDF, Convert PDF to Word & Merge PDFs | Adobe PDF Pack
    Please revert back if you have any other questions or need any help.
    Regards,
    Rahul

  • I have an iMac 21.5" with a 2.5 ghz intel core i5 processor and 4gb ram and running os x lion. The computer is making noise like trrrrrrrrr!!! What should i do to stop the disturbing noise?

    I have an iMac 21.5" with a 2.5 ghz intel core i5 processor and 4gb ram and running os x lion. The computer is making noise like trrrrrrrrr!!! What should i do to stop the disturbing noise?

    Your iMac should be almost silent.
    Make an appointment with your Authorized Apple Service Provider.

Maybe you are looking for

  • LMS 3.2 SP1 - Syslog Report times out / CW14: NO HTTP response

    Hi, in Device Center I can´t start the Syslog Report, it opens a new Browser window and times out. If I start the "Device Troubleshooting" from the Device Center, all checks are successful. Just the check "Syslog Message" show the error: CW14: NO HTT

  • Which Eclipse plug-in for creating web services?

    Dear all, I am looking for a simple, straight-forward eclipse plug-in to create web-services from existing java classes, based on Axis. I am looking to create and deploy the web service to Tomcat, create the WSDL file and create a client class that I

  • Where is the InDesign CC SDK? It is still incomplete?

    I was so excited that I couldn't sleep yesterday. I welcome NewRelease Adobe Creative Cloud. I'm a plug-in developers. I'm looking for InDesign CC SDK. I expect. New method is added to InDesign CC.  ...or it's deleted. My search turned up nothing abo

  • Broadband over-usage - being charged for first mon...

    Hi there, Last month I went over my broadband usage on option 2, but was informed at the time that I wouldn't be charged for this as you only get charged if you go over again. I've now upgraded to option 3 so this won't happen again. However, I recei

  • XCode Error - Nothing will compile at all

    If you can help, please do. I have been having this problem for a whole day now and its really becoming a pain in the head. Whenever I create a new project (Im working in C and Objective-C) even if don't write any code and just try and run the starte