Won't Open the Excel Spreadsheet

I have no problem running the VI; however, when I build the application and run the exe, the Excel spreadsheet does not load. Any ideas?

Hi.
I think we need some more info. Are you getting an error? What kind?
Check the path. I have noticed that a compiled EXE adds one "level" to all paths inside the EXE. So check to make sure the path is correct. See here for more info:
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/fd7de8bc8ffc256c862565f4006be363?OpenDocument
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/686119c33c2c30c186256ca70081ac25?OpenDocument

Similar Messages

  • Open the excel spreadsheet in Excel.

    Hi,
    I am outputing data as an excel spreadsheet via jsp, but there are no toolbars etc available (for sorting, etc) when displayed within the browser.
    Is it possible to always open the excel spreadsheet in the Excel-application (even if the user/client have "Browse in same window" for the file type)?
    Thank you

    May be this could help:-
    The points given below gives idea about how to display the report or
    static data for which data is retrieved in the servlet and printed
    through jsp.
    1. The conversion of report into excel is done by changing the
    setContentType of response
    in the servlet.The mimeType should be added in mimeTypes of application
    server corresponding to the string given in setContentType.The setHeader
    is for default file
    name for excel
    Example:
    response.setContentType("application/vnd.ms-excel");
    response.setHeader("Content-disposition","attachment;filename=file.xls")
    Setting Mime type in server(Weblogic):
    weblogic.httpd.mimeType. application/vnd.ms-excel =xls
    2. In IE the excel is directly downloaded and the user explicitly
    saves in the local system.In Netscape the user is given the option to
    open the file or save it to the local system
    3. Note:
    1) It is better if the whole information of the report in a single
    table.
    2) If the application requires both html and excel format of the same
    report to be displayed on certain conditions, it is better to have two
    different jsps one for html and other for Excel since the formatting is
    different
    krishna

  • I get my emails sent to my Ipad 1 and when I try to open the excel files, they come up in a sort of word doc. how can I get them to come over on excel

    I get my emails sent to my Ipad 1 and when I try to open the excel files, they come up in a sort of word doc. how can I get them to come over on excel

    I was still typing my first post while you had already responded.
    Maybe I am taking your last post the wrong way but reread your post. If I am taking it the wrong way - please accept my apology in advance.
    lisaadele123 wrote:
    I get my emails sent to my Ipad 1 and when I try to open the excel files, they come up in a sort of word doc. how can I get them to come over on excel
    Where do you state that you need to email the files to someone else?
    Where do you state that you need to edit them?
    This was my response ....
    You can't edit any of these files without a compatible iPad app like Documents to Go (Excel, Word) or Pages (Word files).
    You can open and view the files as mail attachments but you will not be able to edit them. Explain exactly what you are doing and maybe you can get meaningful instructions.
    Basically I said the same thing as Julian and I thought that maybe if you explained EXACTLY what you were trying to do, it would be helpful.
    Sorry for not being a mind reader. Your second post ...
    I thought I had already explained, I get excel spreadsheets emailed to me I need to open them, read them, edit them and send them on to another person,
    That is not what you asked the first time around.
    Message was edited by: Demo

  • How Do I Open The Excel Spreadshee​t And Modify The Cell Data

    How can I change the cell content in specific excel spreadsheet with ActiveX control? I am using LabVIEW7.1

     you can open the excel file using Active X . The procedur to open the excel file, will get in the examples. There is an ready made Vi. for that.
    Then select the properties Cell in active X, and you can change the cell data by doing some modification in that vi. i hope it will help you.

  • Any FM or other ways to open the Excel file with data

    Please provide some Help, where I need to open the excel File  with some static  data (header data) from the Selection screen application Toolbar on clicking the button
    Thanks
    Ravindra

    Hi here is good example.
    Satish
    Reads an existing Idoc and dispays the contents in a spreadsheet format
    REPORT Z_DISPLAY_IDOC_AND_DATA line-size 275.
    This tool reads an existing Idoc and dispays the contents in a       *
    spreadsheet format. The spreadsheet (MS-EXCEL) will be automatically *
    created if D_EXCEL = 'X'.                                            *
    data: idoc_control like EDIDC,
          NUMBER_OF_DATA_RECORDS like sy-dbcnt,
          NUMBER_OF_STATUS_RECORDS like sy-dbcnt,
          INT_EDIDS like edids occurs 0 with header line,
          INT_EDIDD like edidd occurs 0 with header line.
    TYPE-POOLS :  LEDID.
    data: STRUCT_TYPE TYPE  LEDID_STRUCT_TYPE ,
          IDOC_STRUCT TYPE  LEDID_T_IDOC_STRUCT,
          SEGMENTS TYPE  LEDID_T_SEGMENT,
          SEGMENT_STRUCT TYPE  LEDID_T_SEGMENT_STRUCT,
          excel_tab(2000) occurs 0 with header line.
    parameter: DOCNUM like edidc-docnum obligatory, ""Idoc Number
               sap_rel like SY-SAPRL default SY-SAPRL obligatory,
               pi_ver like EDI_VERREC-VERSION default '3' obligatory,
               d_excel as checkbox default 'X'. ""Download ?
    start-of-selection.
      perform read_idoc.
      perform process_idoc.
      if d_excel = 'X'.
        perform download_to_excel.
      endif.
    end-of-selection.
    FORM read_idoc.
      CALL FUNCTION 'IDOC_READ_COMPLETELY'
           EXPORTING
                DOCUMENT_NUMBER          = docnum
           IMPORTING
                IDOC_CONTROL             = idoc_control
                NUMBER_OF_DATA_RECORDS   = NUMBER_OF_DATA_RECORDS
                NUMBER_OF_STATUS_RECORDS = NUMBER_OF_STATUS_RECORDS
           TABLES
                INT_EDIDS                = INT_EDIDS
                INT_EDIDD                = INT_EDIDD
           EXCEPTIONS
                DOCUMENT_NOT_EXIST       = 1
                DOCUMENT_NUMBER_INVALID  = 2
                OTHERS                   = 3.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    "" read_idoc
    FORM process_idoc.
      perform read_idoc_structure.
      perform display_data_records.
    ENDFORM.                    "" process_idoc
    FORM display_data_records.
      data: PE_seg_HEADER like EDI_SAPI01,
            segname like EDI_IAPI12-SEGMENTTYP,
            prev_segname like EDI_IAPI12-SEGMENTTYP value ' ',
            pt_fields2 like EDI_IAPI12 occurs 0 with header line,
            PT_FVALUES2 like EDI_IAPI14 occurs 0 with header line,
            byte_first type i,
            byte_last type i,
            field_val(50),
            tmp_str(15),
            tmp_str3(15),
            seg_repeats type i value 0,
            tmp_str2(15),
            tab_cr(1) type x value '09',
            tot_ctr type i value 0,
            ctr type i value 0,
            msg(40) type c.
      data: IDOC_STRUCT_wa TYPE  LEDID_IDOC_STRUCT.
      sort int_edidd by segnum.
      describe table int_edidd lines tot_ctr.
      loop at int_edidd.
        move int_edidd-segnam to segname.
        clear msg.
        concatenate 'Reading segment ' segname
                    into msg separated by space.
        if tot_ctr <> 0.
          ctr = ( 100 * sy-tabix ) / tot_ctr.
        endif.
        CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
             EXPORTING
                  PERCENTAGE = ctr
                  TEXT       = msg.
        add 1 to seg_repeats.
        clear tmp_str2.
        if int_edidd-segnam <> prev_segname.
          seg_repeats = 1.
          clear: pe_seg_header, pt_fields2, pt_fvalues2.
          refresh: pt_fields2, pt_fvalues2.
          CALL FUNCTION 'SEGMENT_READ_COMPLETE'
               EXPORTING
                    PI_SEGTYP                 = segname
                    PI_RELEASE                = sap_rel
                    PI_VERSION                = pi_ver
               IMPORTING
                    PE_HEADER                 = pe_seg_header
               TABLES
                    PT_FIELDS                 = pt_fields2
                    PT_FVALUES                = pt_fvalues2
               EXCEPTIONS
                    SEGMENT_UNKNOWN           = 1
                    SEGMENT_STRUCTURE_UNKNOWN = 2
                    OTHERS                    = 3.
          IF SY-SUBRC <> 0.
            MESSAGE ID SY-MSGID TYPE 'I' NUMBER SY-MSGNO
                    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
          prev_segname = int_edidd-segnam.
        endif.
        read table idoc_struct into idoc_struct_wa with key
                               segment_type = int_edidd-segnam.
        if sy-subrc = 0.
          IF IDOC_STRUCT_WA-SYNTAX_ATTRIB-MUSTFL = 'X'.
            TMP_STR = 'Mandatory'.                  ""Mandatory
          ELSE.
            TMP_STR = 'Optional'.                  ""Optional
          ENDIF.
          if IDOC_STRUCT_wa-SEGMENT_TYPE_ATTRIB-QUALIFIER = 'X'.
            tmp_str3 = 'Qualified'.
          else.
            tmp_str3 = 'Non-Qualified'.
          endif.
          shift IDOC_STRUCT_wa-SYNTAX_ATTRIB-OCCMAX
                                     left deleting leading '0'.
          move seg_repeats to tmp_str2.
          condense: IDOC_STRUCT_wa-SYNTAX_ATTRIB-OCCMAX, tmp_str2.
          concatenate tmp_str2 'of'  IDOC_STRUCT_wa-SYNTAX_ATTRIB-OCCMAX
              into tmp_str2 separated by space.
          write :/ IDOC_STRUCT_wa-SEGMENT_TYPE,
               tmp_str,
               TMP_STR3,
               tmp_str2,
               IDOC_STRUCT_wa-SYNTAX_ATTRIB-HLEVEL,
               IDOC_STRUCT_wa-SEGMENT_TYPE_ATTRIB-plast,
               IDOC_STRUCT_wa-SEGMENT_TYPE_ATTRIB-DESCRP.
          if d_excel = 'X'.
            concatenate 'Segment Name' tab_cr
                        'Mand / Opt ' tab_cr
                        'Qual / non-Qual' tab_cr
                        'Seq of Max' tab_cr
                        'Level' tab_cr
                        'Owner' tab_cr
                        'Description'
                        into excel_tab.
            append excel_tab.
            concatenate IDOC_STRUCT_wa-SEGMENT_TYPE tab_cr
                  tmp_str tab_cr
                  TMP_STR3 tab_cr
                  tmp_str2 tab_cr
                  IDOC_STRUCT_wa-SYNTAX_ATTRIB-HLEVEL tab_cr
                  IDOC_STRUCT_wa-SEGMENT_TYPE_ATTRIB-plast tab_cr
                  IDOC_STRUCT_wa-SEGMENT_TYPE_ATTRIB-DESCRP
                  into excel_tab.
            append excel_tab.
            concatenate tab_cr
                        'Field Nma' tab_cr
                        'Type' tab_cr
                        'Length' tab_cr
                        'Byte From' tab_cr
                        'Byte To' tab_cr
                        'Description' tab_cr
                        'Value' tab_cr
                        'Qualifier Meaning'
                        into excel_tab.
            append excel_tab.
          endif.
        endif.
        sort pt_fields2 by field_pos.
        byte_first = 0.
        loop at pt_fields2.
          clear: field_val.
          byte_last = pt_fields2-EXTLEN.
          write int_edidd-sdata+byte_first(byte_last) to
                field_val left-justified.
          shift pt_fields2-EXTLEN left deleting leading '0'.
          shift pt_fields2-byte_first left deleting leading '0'.
          shift pt_fields2-byte_last left deleting leading '0'.
          write:/ '   ', pt_fields2-fieldname,
                  pt_fields2-datatype,
                  pt_fields2-EXTLEN,
                  pt_fields2-byte_first ,
                  pt_fields2-byte_last,
                  pt_fields2-descrp,
                  field_val.
          read table pt_fvalues2 with key fieldname = pt_fields2-fieldname
                        fldvalue_l = field_val.
          add byte_last to byte_first.
          if sy-subrc = 0.
            write : pt_fvalues2-descrp.
          else.
            clear pt_fvalues2-descrp.
          endif.
          if d_excel = 'X'.
            concatenate tab_cr pt_fields2-fieldname tab_cr
                    pt_fields2-datatype tab_cr
                    pt_fields2-EXTLEN tab_cr
                    pt_fields2-byte_first tab_cr
                    pt_fields2-byte_last tab_cr
                    pt_fields2-descrp tab_cr
                    field_val tab_cr
                    pt_fvalues2-descrp
                    into excel_tab.
            append excel_tab.
          endif.
        endloop.
      endloop.
    ENDFORM.                    "" display_data_records
    FORM read_idoc_structure.
      data: idoctype type LEDID_IDOCTYPE.
      if not idoc_control-cimtyp is initial.
        STRUCT_TYPE = 'E'. ""Extended
        idoctype = idoc_control-cimtyp.
      else.
        STRUCT_TYPE = 'B'. ""Basic
        idoctype = idoc_control-idoctp.
      endif.
      CALL FUNCTION 'IDOC_TYPE_COMPLETE_READ'
           EXPORTING
                RELEASE              = sap_rel
                STRUCT_TYPE          = STRUCT_TYPE
                IDOCTYPE             = idoctype
                VERSION              = pi_ver
          IMPORTING
               IDOC_TYPE            = idoctype
           TABLES
                IDOC_STRUCT          = idoc_struct
                SEGMENTS             = segments
                SEGMENT_STRUCT       = segment_struct
           EXCEPTIONS
                IDOCTYPE_UNKNOWN     = 1
                IDOCSTRUCT_UNKNOWN   = 2
                SEGMENT_DATA_MISSING = 3
                ILLEGAL_STRUCT_TYPE  = 4
                OTHERS               = 5.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    "" read_idoc_structure
    FORM download_to_excel.
      data: name like RLGRAP-FILENAME.
      shift docnum left deleting leading '0'.
      concatenate docnum '-' idoc_control-idoctp '.xls'
                  into name.
      CALL FUNCTION 'RH_START_EXCEL_WITH_DATA'
       EXPORTING
         DATA_NAME                 = name
         DATA_TYPE                 = 'ASC'
         WAIT                      = ' '
       TABLES
         DATA_TAB                  = excel_tab
       EXCEPTIONS
         NO_BATCH                  = 1
         EXCEL_NOT_INSTALLED       = 2
         WRONG_VERSION             = 3
         INTERNAL_ERROR            = 4
         INVALID_TYPE              = 5
         CANCELLED                 = 6
         DOWNLOAD_ERROR            = 7
         OTHERS                    = 8
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    "" download_to_excel

  • Can I open an excel spreadsheet in NUMBERS complete with formulas?

    Can I open an excel spreadsheet in NUMBERS complete with formulas?

    Problem solved.  I find that the excel file I was trying to convert was an .xlsx version and when I resaved it as an .xls file, I was then able to open it in NUMBERS complete with formulas.

  • Want to open an Excel Spreadsheet from a link.

    I am working with financial website and it has a link to a Excel Spreadsheet already design to performa complex calculation.  Spreadsheet is in Excel.  Clicking on the link does not open it and I cannot figure how to get it to open in Numbers - any ideas. 

    Hi Laura,
    This note, from a cell in the Excel spreadsheet, likely explains the difficulty:
    If you are using on older version of Excel, you may need to install an “Add-In.” On the Tools menu at the top of your screen, click Add-Ins. Select the Analysis ToolPak box, and then click OK. If necessary, follow the instructions in the setup program.
    The add-ons in Excel's Analysis Toolpak are, to the best of my knowledge, not supported in Numbers.
    Regards,
    Barry

  • I downloaded the iPhoto update and now it won't open the library on my external hard drive telling me it is locked (which it isn't) what do i do?

    i downloaded the iPhoto update and now it won't open the library on my external hard drive telling me it is locked (which it isn't) what do i do?

    What version of iPhoto?
    What format is the disk?

  • Safari 6 won't open the homepage at startup on Mountain Lion

    Safari 6 won't open the homepage at startup on Mountain Lion... why ?

    Do you happen to have an old version of Glims installed. if so try this new version http://www.MacHangout.com/dwnlds/Glims1b34DEV.dmg.zip
    It seems to have fixed the problem for me.
    Cheers, Rick May.

  • Itunes installed but it won't open the new version- any advise

    itunes installed but it won't open the new version- any advise

    Hello goreckim,
    Thanks for the question, and welcome to Apple Support Communities.
    I understand you are having some issues with iTunes on your Mac Pro. You may want to isolate the issue further by testing to see if it persists in a new user account:
    Isolating an issue by using another user account
    http://support.apple.com/kb/TS4053
    You can also try starting iTunes in safe mode:
    iTunes: Troubleshooting issues with third-party iTunes plug-ins
    http://support.apple.com/kb/TS3430
    Thanks,
    Matt M.

  • Safari won't open the time warner cable server

    safari won't open the time warner cable server, I'm trying to watch amc shows through the website, and it asks you to pick a server to login to. I chose my time warner cable server and it won't connect. ATandT works, but mine won't. I've tried restarting and downloading newer versions but it is still not working.

    Don’t worry about it.
    I’m going to cancel the subscription.
    I maged to download it and install it, but it’s constantly damaged and won’t open.
    I may as well just forget it and cancel.
    Laurie Johnson ,
    17 Lindeman Heights
    RIDGEWOOD W.A. 6030
    Mobile: 0409884674
    M: 0409884674

  • My ipod won't open the apps when i click on them?

    My ipod won't open the apps when i click on them, i've restarted my ipod multiple of time, closed everything that's open, and they are still not working, but i get the notifications through, please help!

    Try downloading and installing another free app from the App Store.  This has resolved the issue for a number of users.  Otherwise, you may need to try and restore your iPod from a previous backup via iTunes.
    B-rock

  • 'File in Use' message is received when one user is in the report and another user tries to open the Excel template

    ‘File in Use’ message is received when one user is in the report and another user tried to open the excel template. how to make excel template shared for multiple users so the users don’t see the ‘File in Use’ message?

    Hi Febin,
    In addition to others’ replies, we can create a shared workbook and place it on a network location where several people can
    edit the contents simultaneously. For example, if the people in your work group each handle several projects and need to know the status of each other's projects, the group can use a shared workbook to track the status of the projects. All persons involved
    can then enter the information for their projects in the same workbook.
    Regarding how to do this,
     the following article can be referred to reference.
    Use a shared workbook to collaborate
    http://office.microsoft.com/en-in/excel-help/use-a-shared-workbook-to-collaborate-HP010096833.aspx
    Best regards,
    Frank Shen

  • Problem while opening the excel files

    Hi
    In my system , i have excel reports in my server disk . And i am opening the excel files through an action class like /viewReport.do?id=23 .....and thus from the action class i open my excel file .
    After opening one excel file , i try to open another excel by clicking that link , then my system often hangs else excel shows an error saying "a report with name viewReport.do is already open " even though both of these files are different on the server
    How can i avoid this ??
    The reason why i am opening the excel file through an action class is , i need to perform some operations before opening that excel report
    i tried by setting the
    response.setHeader("Content-disposition","attachment; filename=myWorksheet.xls");
    and i kept on changing the names but that doesnt work
    Can any one let me know how to go abt this ??

    Hi Sir,
    I found you posted the issue in the
    APS.NET forum, and you seems use some code to open the file. Have you tried the last link in the thread?
    Then, let's do some test to narrow down the issue.
    I notice that you are using Office 2010, does the issue occur only with 'Reachlocal.xlsx' or every existed file?
    If every Excel file has the issue, please try the following methods:
    Open the file in
    safe mode.
    Repair Office 2010.
    On the other hand, this problem might be caused by malware on the affected machine. There are now two known variants of malware which causes this problem: Win32/Crilock.A and
    Win32/Buma!rts. They have both been identified as a new family of
    ransomware.  
    http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2013/09/07/quot-cannot-open-the-file-because-the-file-format-or-extension-is-invalid-quot-opening-office-files.aspx                                   
    If you have any further assistance about code/program, I recommend you post the question to MSDN forum:
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=exceldev&filter=alltypes&sort=lastpostdesc
    Regards,
    George Zhao
    TechNet Community Support

  • Panel won't open the first time

    The accordion works fine on this page, but the first panel won't open the first time.
    It only opens the second time you click on it.
    The other panels are fine....any ideas?
    http://www.palettedesign.com/staging/al/weddings.html

    You need to remove defaultPanel: -1 from your script:
    <script type="text/javascript">
    var acc1 = new Spry.Widget.Accordion("Accordion1", { useFixedPanelHeights: false, defaultPanel: -1 }); </script>
    This is near the bottom of your document.  You may as well delete this entire line, though, because you have a duplicate below that doesn't have the defaultPanel:-1 variable.

Maybe you are looking for