Invoking Excel (MS Graph)

Hey,
I need to invoke Excel and more specifically MS Graph.
Is this possible, can anyone point me in the direction of more info?

You can do this:
Runtime.getRuntime().exec("excel.exe");
Just replace Excel.exe with the actual executable file for Excel. I'm not sure about starting it up with MS Graph.

Similar Messages

  • Report generation toolkit with excel 97 Graphing issue

    I am trying to set-up mu data output to use the report generation Vis. However I am running into a problem when trying to update 2 graphs on the same sheet in Excel.
    My set-up is:
    Windows XP
    Office 97
    LabVIEW 7.1.1 with the Office toolkit installed
    I noticed that I can write to the first Graph and update it without issues, but once I try to update the second I get error -41105 stating that MSGraph is not installed.
    I did notice that if I set a break point between the Excel Quit Graph.vi and Excel Update Graph.vi if I click the mouse within excel in removes the highlight border from the first graph, the I continue and it works fine. For some reason LabVIEW is not releasing that Graph to be able to select another.
    I tried to write data to a cell after quiting the graph and then selecting the second graph but that is not working either although it does work manually.
    Next I may try a Macro but I would rather not have to do that.
    Any suggestions?
    Jeff
    Jeff D.
    OS: Win 7 Ultimate
    LabVIEW Version: 2011,2010,2009 installed
    Certified LabVIEW Architect

    Well after some debugging I found it. Apparently for Excel 97 only there is a problem that when you qiut MSGraph it may not save properly so the VI had the Quit Property removed.
    I have added it into my code and it seems to work and will see how well it does and if I run into any problems.
    Jeff D.
    OS: Win 7 Ultimate
    LabVIEW Version: 2011,2010,2009 installed
    Certified LabVIEW Architect

  • I'm trying to invoke EXCEL or POWERPOINT file into the browser IE 6.0.  The

    I'm running TOMCAT locally on my PC (running Windows NT).
    I'm trying to invoke EXCEL or POWERPOINT file into the browser IE 6.0.
    The output is coming out all scrambled (almost like ASCII code or something),
    where it seems like the applications are not firing up.
    However, an MSWord file shows up fine. So I go to the WEB.XML file in the TOMCAT\CONF
    folder and notice that a MIME type has been set up for MSWord and not the other two.
    I set one up for EXCEL and POWERPOINT but the XLS or PPT files still don't work.
    So, just for kicks, I comment out the MSWord MIME definition but the MSWord file still worked!!!
    I can't figure out what's going on here.
    I'm stopping and starting the TOMCAT service each time I make changes to the WEB.XML file,
    but it seems like none of the changes are taking affect.
    I install all the viewers for MS-Word, ppt, and excell.
    But in Netscape it works fine.

    To support various file formats in IE browser while using window.open like .doc, .docx, .ppt, .pptx, .xls, xlsx etc.,
    The following code can also be used to force any format to get launch outside IE
    For these first configure a filter in web.xml and then include the filter class in given path
    <filter>
    <filter-name>MimeFilter</filter-name>
    <filter-class>com.srk.MimeFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>MimeFilter</filter-name>
    <url-pattern>*.xls</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>MimeFilter</filter-name>
    <url-pattern>*.xlsx</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>MimeFilter</filter-name>
    <url-pattern>*.ppt</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>MimeFilter</filter-name>
    <url-pattern>*.doc</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>MimeFilter</filter-name>
    <url-pattern>*.docx</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>MimeFilter</filter-name>
    <url-pattern>*.pptx</url-pattern>
    </filter-mapping>
    and then include the filter class in the declared path
    import java.io.*;
    import java.util.logging.*;
    import javax.servlet.*;
    import javax.servlet.Filter;
    import javax.servlet.http.*;
    public class MimeFilter implements Filter {
    public void doFilter(ServletRequest request, ServletResponse response,
    FilterChain chain) throws IOException, ServletException {
    HttpServletResponse httpResp = (HttpServletResponse) response;
    HttpServletRequest httpReq = (HttpServletRequest) request;
    String fileUrl = httpReq.getRequestURI();
    if(fileUrl.lastIndexOf(".xls")!=-1)
    fileUrl = fileUrl.substring(fileUrl.lastIndexOf("/")+1);
    httpResp.setContentType("application/vnd.ms-excel");
    httpResp.setHeader("Content-disposition", "attachment; filename="+fileUrl);
    if(fileUrl.lastIndexOf(".ppt")!=-1)
    fileUrl = fileUrl.substring(fileUrl.lastIndexOf("/")+1);
    httpResp.setContentType("application/powerpoint");
    httpResp.setHeader("Content-disposition", "attachment; filename="+fileUrl);
    if(fileUrl.lastIndexOf(".doc")!=-1)
    fileUrl = fileUrl.substring(fileUrl.lastIndexOf("/")+1);
    httpResp.setContentType("application/msword");
    httpResp.setHeader("Content-disposition", "attachment; filename="+fileUrl);
    chain.doFilter(request, response);
    public boolean isLoggable(LogRecord record) {
    return false;
    public void destroy() {
    public void init(FilterConfig arg0) throws ServletException {
    Please let me know your feedback.

  • How to correct bad PDF display of Excel 2007 graph-Adobe Pro X?

    Just installed Adobe Acrobat Pro X; previously had Adobe Pro 8, which worked fine.  Have Excel 2007 files with an Excel graph and a JPG image on the spreadsheet tab.  Both the graph and the JPG are too big, are displaced, and hide spreadsheet data, when the Excel file is Saved As a PDF using Adobe Pro dialog or Excel dialog, or the Excel Plug-In to Create PDF.  For some strange reason, printing to PDF works, although that is limiting.  All of the settings are the same for the Adobe Printer as Adobe Pro settings.  Changing them or going to default did not help.  Just did the latest update; that did not help.
    The graph and JPG are too large for the PDF page.  Paper printing from Excel still works fine. Producing a PDF on another machine with Pro 8 still works fine.  Could not find this problem discussed anywhere.  Using XP, fully patched.  This should not be a complicated process, nor a complex spreadsheet. What is going on?
    Thanks

    Regardless of the method and Adobe product used to create the PDF, including the Excel tool button, the single common factor whether the PDF correctly displays a JPG or graph in the Excel file that is being done at anything other than 100% size is whether the Adobe Printer or a Physical Printer is selected as the default printer in the Windows Printers and Faxes-Settings.  This is true even though the printer is not being used. I have created the same PDF using every method/product and the results are always the same, and only properly display when either the setting is 100% size or the system printer is selected as Adobe Printer.  This is true only after installing Adobe X (8 was previously installed, and worked as expected).
    Jeffry Calhoun
    Workforce Analytics Manager
    Ohio Department of Job & Family Services
    P.O. Box 1618, Columbus, OH 43216-1618
    InterAgency: F376, 4020 E. 5th Avenue
    614-644-0564
    Fax 614-728-5938
    [email protected]
    OhioMeansJobs.com -
    The next best thing to having an HR department.
    OhioMeansJobs.com -
    Ohio's premier website for connecting businesses and job seekers - quickly, easily, and for free!
    >>> "Bill@VT" <[email protected]> 4/7/2012 7:21 AM >>>
    Re: How to correct bad PDF display of Excel 2007 graph-Adobe Pro X? created by Bill@VT ( http://forums.adobe.com/people/Bill%40VT ) in Creating, Editing & Exporting PDFs - View the full discussion ( http://forums.adobe.com/message/4319297#4319297 )
    You say the settings for the printer work fine, but do not for PDF Maker (I am assuming this is what you meant). PDF Maker no longer uses the printer and the settings are independent. Check the settings for PDF Maker under the create PDF menu.
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4319297#4319297
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4319297#4319297. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Creating, Editing & Exporting PDFs by email ( mailto:discussions-community-acrobat-creating__editing_%[email protected] ) or at Adobe Forums ( http://forums.adobe.com/choose-container!input.jspa?contentType=1&containerType=14&contain er=4697 )
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.
    Ohio Means Jobs
    You're looking for something unique. Use more than an ordinary site.
    http://www.ohiomeansjobs.com
    This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain private, confidential, and/or privileged information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, employee, or agent responsible for delivering this message, please contact the sender by reply e-mail and destroy all copies of the original e-mail message.

  • Place Excel charts/graphs in InDesign

    Hi We need to put MS-Excel 2007 graphs in InDesign CS4.  Earlier we used to just copy and paste them. We have around 15 graphs that need to be put.
    However, now our client has asked us to recreate them in InDesign or Illustrator.  How do we do that?

    vikojh wrote:
    No they want them re-created in illustrator.
    Can an MS-EXCEL chart be recreated exactly the same way in Illustrator?
    The client had shared some Illustrator graphs with us. However, we did not find any data embedded within the graphs, thus, were unable to understand the approach to be followed while creating the graphs in Illustrator.  Does that mean that they too, were copy pasted from MS-Excel to Illustrator.  Further, we are unable to assign data labels to the graphs created.
    More or less, but rarely exact. You would use the chart/graph tool in Illustrator. This allows you to add the data in to the chart and it can be modifed at any time. However, if you outline/expand the chart, it loses the connection to the data and is therefore a static chart.
    Maybe the charts supplied to you were outlined/expanded? See screenshot for the tool.

  • I need to invoke Excel from Reports 3.0.

    I need to invoke Excel from Reports 3.0. I need to insert into
    Excel Data which is output of a report. Can someone help me with
    a sample code of how we can invoke Excel and Get data.
    Thanks in Advance
    Ravi

    Ravi,
    The Forms Demos include an example of how to do this.
    It will be easy to adapt to Reports (the OLE2 built-ins are the
    same).
    Also, Reports 3.0 is quite old and not supported anymore.
    Hope this helps,
    Pedro
    [email protected]

  • Changing axis labels on Excel XY Graph

    Hello,
    I'm trying to generate a report using the Report Generation Tollkit, i was following the steps indicated in the NI report tutorial that helped me a lot.
    The problem is that i could not change the scaling of the X axis which is giving me always numbers from 1 to 11 then zeros after while these numbers need to be under date format (ex 10/04/2013), i'll appreciate the help if someone knows how to fix this.
    Thank you,
    MGarry
    Attachments:
    Graph.PNG ‏8 KB
    diagram.PNG ‏13 KB

    Hi MGarry,
    It seems that excel has a special way of representing the date/time format. See this: http://digital.ni.com/public.nsf/allkb/7AAFFD177BBB33CC86256E91000B1E32
    So we know how it is represented in Excel, but the issue is telling excel that those numbers are meant to be interpreted as date/time format not regular decimal numbers. Have you managed to do this in excel manually? (without using the report generation toolkit). If so you might be able to make a skeleton of the graph and then update it using the following excel update graph VI (http://zone.ni.com/reference/en-XX/help/370274E-01/lvoffice/excel_update_graph/). You can also add row headers and column headers. I would check to see if its possible manually first and we can go from there.
    Regards,
    Basil
    Applications Engineering
    National Instruments

  • Invoking Sample Java Graphs thro Oracle Express 6.3.2

    We have installed Oracle Express 6.3.2 to develop OLAP web application.
    At the outset we tried to invoke sample Java Graph Pages created
    using the samples.db after setting the page as JAVATABLE type through the link http:\machineid\oew-install\sample\index.html.
    oew-install is the virtual directory that points the path -
    oxhome\olap\oes632\owa632
    We could only view the OLAP cube as HTMLTABLE type.
    Where are we wrong in not viewing the Graphs???
    Have we missed anything during installation??

    Hi Aneel
    Thanks for your support.
    As per your sugessions We have checked the browser options, we could not find the Java 2 option but we had three options under microsoft VM which are as given below
    1. Java Console Enable
    2. Java Login Enable
    3. JIT compiler for virtual macine enabled.
    We have checked 1 and 3 options and restarted the IE browser still we could not succed in getting the Java Graphs in Sample appication.
    More over as asked by you the version of Java console is "Microsoft (R) VM for Java, 5.0 Release 5.0.0.3234"
    With netscape it was showing "Applet owagraph can't start : Error"
    Hi Can I have your mailId?
    Thanks
    Nanda Kishore

  • Excel 2007 graph into Illustrator CS2

    I have discovered an issue with Illustrator CS2 and Excel 2007...when I try to edit a graph in Illustrator (either by cutting and pasting or printing to a pdf and opening in Illustrator), all of the graph lines are no longer lines. They are individual shapes with fills instead of strokes. Does anyone know of a way of fixing this? I edit graphs for a living and this is a tragic discovery! I had no problems with Excel 2003. Would this problem go away if I upgraded to CS3?

    Having the same problem with Illustrator CS3. All Excel 3D graph/chart are individual shapes. Looks horrible.
    Don't have Office 2003 installed. So sure if it only an Excel 2007 issue.
    No problem with Excel 2004 on the Mac.

  • Excel Insert graph set position

    Hello,
    I want to generate an excel report with a graph.
    I use the VI "Excel Insert Graph.vi" to set the parameters for position and size, but in the report the graph use only the size parameter. I can't set the position of the graph in y report. See attachment.
    Does anybody have a solution or an idea?
    Attachments:
    Excel_report.zip ‏41 KB

    No one answered this question but 4 years later I ran into the same problem. So here is why you cant set the position with the position/size input of the Excel Insert Graph.vi:
    You connected the string "A4" to the "name ("")" input of the insert graph vi. (like on the Bar Graph(Excel). vi example). If you do that, then the graph start position will be column A, row 4, no matter what you write in the position/size input.
    Hope this answer can help oher people who use the labview example to base their excel vi on.

  • Excel Insert Graph (Need Help!)

    Hi there!
    I am new to LabView, and trying to use the Excel Insert Graph vi. I am not sure what it means by "report in", I have tried to convert my file path for my Excel report into a string, but it won't take it, and the help says "links a report to the vi's used to control report appearance, data, and printing." Do I have to use another vi to open the Excel file first? Any help would be appreciated, thanks!
    Ke
    Message Edited by Ke Sun on 10-19-2006 04:35 PM

    Take a look at the example VIs in your [LabVIEW]\examples\office folder.  There are several examples that deal with Excel and Graphs in MSGraph Examples.llb.  You must use the "New Report.vi" to generate a new report, which gives you the reference you can then use with the Excel Insert Graph.vi.  The examples should point you in the right direction.
    Good luck,
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Excel Insert Graph VI

    Has anyone experienced the behavior of when using the Excel Insert Graph VI multiple times for different datasets that the graph will not always appear? When I run the below code, I see this behavior with a few graphs.
    Attachments:
    Graph Example.vi ‏22 KB
    Graph Example.vi ‏22 KB

    The issue is cause by the fact that you didn't wire anything to the column and row headers inputs. If you read the help file for the Excel Insert Graph VI the following is specified:
    column headers specifies the text of the column labels on the graph. Leave this parameter unwired if you want to create an XY graph.
    row headers specifies the text of the row labels on the graph. Leave this parameter unwired if you want to create an XY graph.
    In your case you want to create an xlLine type graph but in fact you are creating an XY graph. Just wire something to the Row Column header inputs. See attached (LV2013).
    Ben64
    Attachments:
    Graph Example2012.vi ‏26 KB

  • Creating an Excel-like graph

    Hello, I need to take an 2 arrays of numbers and create a graph from those numbers similar to using the graphing tool in Excel.
    What is the best way to do this using java?
    thanks
    TRW

    JFreeChart is best for your needs.

  • Invoke node XY graph

    I have an array that is going to a XY Graph indicator. But I have to perform a certain test at 4 different temperatures, so I need a loop, but I want to save each plot in a file. So I found out that i can use the invoke node and select export image. But then I dont know how to finish the wiring to make it work. I am going to attach the idea of what im trying to do. From the VI i attached there is a bundle that has two 1D array inputs, (they are not shown in the attachment) and then an ouptut cluster of 2 elements. Now since I need 4 plots, I need to save each plot everytime 1 temperature test is done...if i do not do this by the end of the test, at the 4th temp , that is the graph that i will be getting, the other 3 are gone or overlapping
    Thanks for your help
    Josef
    Attachments:
    invoke node.vi ‏11 KB

    Josef,
    I’m a little confused by your question as well. However, I think the only thing you are asking for is how to keep the images from overwriting each other. This can be done by programmatically changing the input of the Path in the invoke node every time you have a new dataset.
    Charlie M. CLD

  • Generate Excel with Graphs

    Hi
    I need to generate an Excel spreadsheet with data extract from Oracle (no problems) and some predefined graphs. Any suggestion about how can I automatically include graphs in the new spreadsheet?
    The content of Excel, including the graphs, depends on some user choices made during runtime.
    Our environment is:
    Oracle 9.2
    WebSphere
    Java 1.4.2
    Xks,
    Miguel

    Hello Miguel,
    how are you generating the Excel File?
    Have a look at this:
    http://poi.apache.org/index.html
    e.g.
    http://poi.apache.org/hssf/limitations.html
    With the Apache POI you cannot create charts directly, but if you have a template Excel sheet you can modify an existing chart.
    With best regards
    Matthias

Maybe you are looking for

  • GOODS CONSUMEND AGAINST A G/L ACCOUNT

    HI, I WANNA KNOW AGAINST A G/L ACCOUNT WHAT ARE ALL THE MATERIALS ISSUED. ANY STANDARD T-CODE HELP ME TO FIND THIS. CAN ANY ONE HELPS ME IN THIS REGARD. THANKS, NAAGSEKHAR

  • Full screen mode: How to switch between open windows?

    Hi There, Is there way to get CMD + ` working in full screen mode? Other shortcuts like CMD + OPT [ ] to switch between open tabs and CMD + TAB to switch apps seem to work - but without the ability to switch between open windows within the same app,

  • I have a Compaq Presario CQ62-213AX but i can't get 5.1 surround over HDMI. How can i get this?

    My Compaq Presario CQ62-213AX should be able to output 5.1 surround over HDMI but in 'supported formats' only stereo is listed. This computer has a ATI Mobility Radeon™ HD 5430 and according to the specs, http://www.amd.com/us/products/notebook/graph

  • Why are AMC vod show episodes not always in HD?

    It seems like AMC vod shows are in HD right after the air date, then only available in SD for a while.  Is there a reason for this?  I went to watch last week's episode of Walking dead, but it's only available in SD.  But this week's episode (2 night

  • KeepXAConnTillTxComplete

    Not sure if I should post this error here or in the WorkShop forum. Anyway, I am using WLS 7 sp2 with an Informix DBMS. I need to use Distributed Transactions so I am re-configuring a few of my DataSources and Connection Pools to use the Informix XA