Excel Merge Cells.vi throws an undefined error in Excel 2013?

Basically, I can't write text into an Excel spreadshoot using the Report Generation tools.
Using LabVIEW 2013 (SP1) I am writing to individual cells in an Excel (2013) template.
The error is coming from the Report Generation Toolkit>Excel Specific>Excel Easy Text.vi.>Excel Merge Cells.vi.
Inside of the "Excel Merge Cells.vi" is an "Invoke Node.Range". When the program hits this point, it throws out an undefined error.
My code has been running on multiple platforms in multiple programs with no problems using Office 2010.
NASA upgraded our Office Suit to 2013. I am now throwing an undefined error ( -2146827284).
I've got a service request in and have talked to an engineer. THey are looking at the problem. However, I thought I would throw it out here and see if anyone had seen this particular problem.
Bryan Alexander

Problem found, workaround implemented.
When you use the "New Report.vi", you have to wire in one of four choices for the state of the window. "Maximized", "Minimized", "Normal" and "No Change". If you use the "Excel Easy Text.vi" to insert data into an Excel 2013 Spreadsheet, it will generate an error if you opened the Excel file in "Minimized" mode. The other three states work fine.

Similar Messages

  • NI_Excel.Ivclass:Excel Set Cell Color and Border.vi Error

    Hi
    I was trying to compile a file and I kept getting an error. It zeroed in on the vi that was not compiling. I am attaching the vi to this message. The vi seems to be broken. And I am not sure how to fix this. Can some one please help me out with this. Thanks in advance. 
    I guess it is associated with Report Generation Toolkit. Please let me know if you need any more details.
    This is the error message 'One or more required inputs to this function are not wired or are wired incorrectly. Show the Context Help window to see what the connections to this function should be.'
    Regards
    Mr Miagi
    Solved!
    Go to Solution.
    Attachments:
    Excel Set Cell Color and Border.vi ‏20 KB

    http://forums.ni.com/t5/LabVIEW/Set-excel-cell-color-and-border-broken-can-t-build-application/m-p/1...
    Please do a search.

  • SpanColumnTypeOptions.splitColumns undefined error or bug?

    Hi Experts,
    I'm getting error when i execute the below js code:
    Error number: 2
    Error String: SpanColumnTypeOptions is undefined
    myDocument = app.activeDocument;
    myDocument.paragraphStyles.add({name:"title", pointSize:22, leading:24, startParagraph:StartParagraph.nextFrame});
    myDocument.paragraphStyles.add({name:"subtitle", pointSize:18, leading:20, spanColumnType:SpanColumnTypeOptions.spanColumns, spanSplitColumnCount:SpanColumnCountOptions.all});
    Basically my script adds two paragraph styles, there is no error with first pstyle but with the second pstyle it throws 'SpanColumnTypeOptions' undefined error.
    Please let me know your idea on this?
    Thanks
    Shiv

    Thanks for you time Jeff!
    I was using cs5 and now i know why this error occur.
    First line of my code has an include command which includes the adobe glue code.jsx for some xml process
    #include "glue code.jsx"
    When i comment this line, there is no error. Then i noticed inside that glue code js there is
    app.scriptPreferences.version = 5;
    Which tells indesign to use cs3 compiler, resulting to error.
    Jeff, i also seen your answer on the other thread, changing the version no. in glue code.
    I'm planning to change the version to 7 in glue code, it will not create any impact later on right?
    Cheers,
    Shiv

  • Set Width for a column, Merge cells in Excel

    Hi all,
    I am using jacob.dll to open and modify an Excel file. And I am stucking in below trouble:
    Dispatch workbook = Dispatch.invoke(workbooks, "Open",
              Dispatch.Method,
              new Object[]"D:\\02042005.xls",
              new Variant(false), new Variant(false)},
              new int[1] ).toDispatch();
    Dispatch sheet = Dispatch.get(workbook,"ActiveSheet").toDispatch();
    System.out.print(sheet.get(sheet,"Name") + "\n");
    Dispatch a1 = Dispatch.invoke(sheet, "Columns",
              Dispatch.Get,new Object[] {"A:A"},
              new int[1]).toDispatch();     
    Dispatch.put(a1,"Width","8");
    Error message is that I can not set value Width for object RANGE! so strange... Is there any ways to set Width for a certain column?
    Any help is appreciated.
    Regards,
    YukiNguyen

    Hi all,
    :) At last I can work done with Jacob, so great :) take me all yesterday to find more... just hope this post can help someone like me save one day to find how :)
    //Get Range
    Dispatch orange = Dispatch.invoke(osheet,"Range",Dispatch.Get,new Object[]{"A1:I1"},new int[1]).toDispatch();
    //Get Column I & set Width
    ocolumn = Dispatch.invoke(orange,"EntireColumn",Dispatch.Get,new Object[]{"I"},new int[1]).toDispatch();
    Dispatch.put(ocolumn,"ColumnWidth","60");
    //Merge cell
    orange = Dispatch.invoke(osheet,"Range",Dispatch.Get,new Object[]{"C12:D12"},new int[1]).toDispatch();
    orange.call(orange,"Merge");
    Is it exciting, huh? :) I am trying to set HorizontalAlignment... beginner always stuck in somethings :)... but I have learnt so much
    Regards,
    YukiNguyen

  • Excel export are merging cells for data on multiple lines !

    Hello,
    I'm using Crystal Report XI R2, when we are doing an export to Excel with have an unexpected formatting.
    For example the value of the name is on 2 lines:
    => So, on Excel the result is on 2 lines but merged. We want to have this result only on one cells.
    Remark: if we delete the 2nd lines, because cells are merged we obtain the expected result.
    Proposal A:
    Are they any set-up available concerning the formatting of Excel ?
    Proposal B:
    Could we run some VBA when we click on Export button to make queries on the Excel ?

    When they introduced Unicode support in Crystal 9 (I believe), they had to completely re-write the export routines. At that time, they made a decision to change the functionality of the excel export. Crystal is attempting to remain absolutely faithful to the graphical layout of the report as you see it in the viewer. So it creates merged cell sections, empty columns between columns, and empty rows to give you as close to exactly what you see in the viewer as possible. Unfortunately, the result is typically less than useful. Iu2019ve had several conversations with Business Objects (now SAP) with regards to this when they changed it between versions 8.5 and 10, and they have no intention of changing the functionality as it now exists.
    There is a document which is now likely somewhere on the SAP portal that explains what you need to do to obtain the best results when exporting to excel.
    The jist of it is this:
    Line up all of the columns detail data with thier headers, and make sure that data fields are the same size as thier headers. 
    Line up all rows (headers and detail rows). (ie: select everything in the row, right click, align tops, and make the same height)
    cram everything as close together as possible. zero space in the report translates to zero extra collumns and rows in the export.
    the other option is to use the export to data only functionality, but that may not be what you're looking for either.

  • I need to convert PDF to Excel, however, columns and tabs make many merged cells and many blank columns. In addition to not separate the columns correctly, I see many not separate lines together in the same cell. I'm even thinking that Adobe Acrobat Pro D

    I need to convert PDF to Excel, however, columns and tabs make many merged cells and many blank columns. In addition to not separate the columns correctly, I see many not separate lines together in the same cell. I'm even thinking that Adobe Acrobat Pro DC has limitations. There is no way to define what points in columns to force break column? Nor create many columns that are useless? How does text to column in Excel, fixed size when we import text, and define where the breaks have columns?
    Google Tradutor para empresas:Google Toolkit de tradução para appsTradutor de sitesGlobal Market Finder
    Desativar tradução instantâneaSobre o Google TradutorCelularComunidadePrivacidade e TermosAjudaEnviar feedback

    PDF does not contain columns, rows, formats, styles, or other aspects of word processing or spreadsheet file formats.
    This is because PDF is decidedly not a word processing or spreadsheet file format or something "like" one of those.
    (see ISO 32000 for what PDF "is")
    What can optimize the export of PDF page content is to start with a well-formed tagged PDF (ISO 14289-1, PDF/UA-1 compliant).
    Without that export is what it is and one performs whatever content cleanup is needed using the native application for the export file (MS Word or Excel).
    Be well...

  • How to handle merge cells in the excel sheet while uploading

    Hi guys,
    I have a requirement where i need to upload the excel sheet. The data is given below.
    field1     field2     field3     field4
    a     x     1     1
              2     2
              3     3
         y1     4     4
         y2     5     5
         y3          6
    The output must be
    a     x     1     1
    a     x     2     2
    a     x     3     3
    a     y1     4     4
    a     y2     5     5
    a     y3     5     6
    Here the field1 column is merged.
    Please let me know if you guys have sample code to handle the merge cells in the excel sheet, that would be of gereat help.
    Regards,
    Karthik

    Hi guys,
    I have a requirement where i need to upload the excel sheet. The data is given below.
    field1     field2     field3     field4
    a     x     1     1
              2     2
              3     3
         y1     4     4
         y2     5     5
         y3          6
    The output must be
    a     x     1     1
    a     x     2     2
    a     x     3     3
    a     y1     4     4
    a     y2     5     5
    a     y3     5     6
    Here the field1 column is merged.
    Please let me know if you guys have sample code to handle the merge cells in the excel sheet, that would be of gereat help.
    Regards,
    Karthik

  • Merge cells in a column that looks like in an excel file?

    Hello,
    I have a file. xls shown in the image below, this file is automatically generated by script, I want to merge cells that I colored myself just to show you but in reality they are not colored, so i want to merge the cells that contain the same value, for example, the first cell FRS and the second cell FRS, i want to merge and write once FRS and the same for the other line of this column, knowing that this file is not fixed, it is possible that its contents change, then we can not fix the cells to merge.
    thank you for your help
    Here the example: [  http://www.developpez.net/forums/attachment.php?attachmentid=119608&stc=1&d=1369776340]
    Edited by: 1008481 on May 28, 2013 4:11 PM

    Cross posted
    http://www.java-forums.org/advanced-java/74579-merge-cells-column-looks-like-excel-file.html
    db

  • How to merge cells in excel using X++ in AX 2009

     Hi all,
     How to merge cells in excel using X++ in AX 2009?
     for example i have 3 cells (A3:C3) i need to merge this 3 cells using X++
    can any one sujjest please
    Thanks in advance

    Hi,
    WinForm technology does not support X++ related cases.
    I just checked this link
    http://msdn.microsoft.com/en-us/library/aa867122.aspx and haven't found a related forum.
    I'll move your case to where is the forum for so that you may get some help about this.
    Regards,
    Barry Wang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • "Json is undefined" error message when running web query in excel

    Hello,
                Im trying to run a web query to import flight price data from ryanair into excel.
    I get a "Json is undefined" error message whenever i  run the web query.
    I also get a message from Ryanair saying my browser is out of date even though I have Internet Explorer 11.
    Ive added screenshots so i hope they display correctly.
    Can anyone help with this.
    Thank you

    Hi,
    Did this issue only occur with the Ryanair website or other websites( Such as Microsoft websites)?
    If this issue only occur with Ryanair website, this issue might be caused by the website script error, please see the below image ( I could reproduce your issue with this URL):
    We might be able to query the data with this site.
    If your web query can't access the other site, please try the below workaround.
    Copy the code in to VBE and set the website URL.
    Sub Web_Query()
    Sheets.Add
    Dim myURL
    myURL = "url;http://www.xxxxxx.com"
    With ActiveSheet.QueryTables.Add(Connection:=myURL, Destination:=Range("A1"))
    .FieldNames = True
    .RowNumbers = False
    .FillAdjacentFormulas = False
    .PreserveFormatting = True
    .RefreshOnFileOpen = False
    .BackgroundQuery = True
    .RefreshStyle = xlInsertDeleteCells
    .SavePassword = False
    .SaveData = True
    .AdjustColumnWidth = False 'True
    .RefreshPeriod = 0
    .WebSelectionType = xlSpecifiedTables
    .WebFormatting = xlWebFormattingNone
    .WebTables = "1" '"1,2,3,4"
    .WebPreFormattedTextToColumns = True
    .WebConsecutiveDelimitersAsOne = True
    .WebSingleBlockTextImport = False
    .WebDisableDateRecognition = False
    .WebDisableRedirections = False
    .Refresh BackgroundQuery:=False
    End With
    End Sub
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • How to parse excel spread sheet contains merged cells in SharePoint 2010 sand box solution?

    Hi All,
    in my requirement i need to parse  excel file which contains merged cells. i need to get this functionality in sandbox solution. in my server i can not use interop dll or open xml.  can anybody help me on this.
    Regards,
    Venu

    Hi Venu,
    There are a couple of other threads with code samples that reads excel files from document libraries, so you can try out those if you like. You probably  have to modify them a bit to adjust to Sandbox requirements, but they should do well as starting
    points anyhow.
    https://social.technet.microsoft.com/forums/sharepoint/en-US/81d2535c-49cc-4fad-8308-39c4a33fd004/read-excel-file-for-sandbox-solution-for-office365
    http://social.msdn.microsoft.com/Forums/en/sharepointdevelopment/thread/1fce430c-5e2c-401e-ad8a-99e890d1dcef
    http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/5b5c96d4-17fb-42ad-8c30-e184fe26c5ef
    Best Regards
    Dennis Guo
    TechNet Community Support

  • ExternalInterface Call Javascript Array to AS2 throwing undefined error

    I need to pass various (tracking) IDs to a .swf.  the IDs are in an array like this =
    <script type="text/javascript">
    function getImpID() {
    var medID={impID:'12345',pvID:'677890',exID:'654332'};
    return medID;
    function thisMovie(banner) {
        if (navigator.appName.indexOf("Microsoft") != -1) {
            return window[banner]
        else {
            return document[banner]
    window.onload=getImpID;
    </script>
    Right now the AS2 I have is:
    import flash.external.*;
    System.security.allowDomain(sourceDomain)
    var allID:String = ExternalInterface.call.apply("getImpID");
    function getIDs(){
              var impID:Number;
              var pvID:Number;
              var exID:Number;
              var id_arr:Array = allID.split(",");
        _root.id_test.text = impID;
    getIDs();
    Basically what I need is to split the three ID's from the javascript so that I can append them with various URL clickTags in the AS.  Main issue I have is the 'undefined' error, so I'm going out on a limb here that the AS2 I have doesn't do anything right now of value.  Biggest head scratcher for me is, if I have the IDs in an array in the javascript (medID) how to get them not only properly into Flash but to separate them into their separate IDs. 
    Any suggestions would be greatly appreciated.
    Thanks!

    Forgot to reply, your guidance helped in solving the riddle =
    actionscript:
    function idTag(){
              getID = Object(ExternalInterface.call("getImpID"));
              getID.toString();
      //_root.id_test.text = getID;
    idTag();
    javascript
    <script type="text/javascript">
    function getImpID() {
              var getID=['impID=8910424942498409873&pvID=8910423767061585831'];
              thisMovie("banner").getID;
              return getID;
    function thisMovie(movieName) {
        if (navigator.appName.indexOf("Microsoft") != -1) {
            return window[movieName]
        else {
            return document[movieName]
    </script>
    worked like a charm!

  • Smartview 11.1.2.1.103 problem: Merged cell in HFM workspace is unmerged in smartview

    I have an error here in smartview 11.1.2.1.103. In HFM workspace, the form I designed has merged cell in row1. But I open the same form in smartview, row1 is not longer merged. Does anyone have the same problem?
    PS: I've already set the option: excel formatting in smartview.

    Hi,
    thanks for your answers. From all I could find out from Oracle support, I'll have to wait until 11.1.2.1 is GA and then try again :-(
    Or will there be a patch for 11.1.2.0 as well?
    Best regards,
    Markus

  • Webi report throwing 500 internal error when run

    hi all,
    when i tried to run one of my report , it is throwing 500 internal error INF;  the same does not happen with ohter reports in the same folder.
    can someone help on this. I am admin with full rights who is not able to perfom this.
    informations:
    BO XI3.1 sp3 fp 3.2 
    bo installed on one seperate server.   and hosted on websphere.. and other web deployments made on websphere again.
    rgds
    shravan

    this report is using merge cells and cross tabs which is a bug in the product till XIR3 SP3 FP3.2   so an upgrade to FP3.5 will fix this issue. again. this does not happen with all the reports.
    this is the solution given the SAP vendor.
    rgds
    Shravan

  • Report Generation broken after deployment - Excel Set Cell Color and Border.vi

    Upon deployment, the Excel Set Cell Color and Border.vi became broken.  After installing LV2010 SP1 to view the VIs in the deployment, I noticed that in the second case structure where the code draws the border using the BorderAround invoke node, there is an extra variant input parameter named 'Parameters'.  Upon right-clicking, an option to 'Relink Invoke Node' appeared and after selecting this, the extra input disappeared and the VI was no longer broken.
    Why does "Relink Invoke Node" appear?  How do I create a deployment with this issue?  Has anybody else experienced this?  Why is the TestStand deployment so buggy?  

    Hi Ching-Hwa,
    I have set up a test deployment here where I am deploying a workspace that contains a sequence file.  This sequence file has a LabVIEW Action Step calling a VI that opens a new Excel file and simply calls the Excel Set Cell Color and Border VI.  After deploying this, both the VI and my test sequence ran on the deployment machine without error.  Therefore, I do have some more questions to more accurately reproduce what you are seeing.
    First, what operating systems are you developing on and deploying to?  Also, what license do you have for TestStand on the machine you are deploying to?  If you have a development version, can you manually take the sequence file and VI to this machine and run it?  I know you now have LabVIEW 2010 SP1 on your development machine, but if you have the development version of TestStand as well, it would be interesting to see if you copy the files over if you still see this behavior.  Are you including the TestStand Engine in the deployment?
    Can you open a blank VI on the deployment machine and add the Excel Set Cell Color and Border VI?  It would also be interesting to see if this is not a product of the deployment, but rather an issue with something on the deployment machine itself.  What version of the Report Generation Toolkit do you have on each machine?  Also, what versions of Excel are you using on the development and deployment machine?  Again, it would be helpful for me to know exactly what versions you have installed on both the development and deployment machines so that I can reproduce this as accurately as possible.
    One last thing to try, too, would be to try deploying the VI by itself just to see if it also has the same behavior.  Do you have the Application Builder in LabVIEW?  If so, could you also try building an executable from the VI, create an installer, and deploy this to the deployment machine?  
    In regards to the "freezing" of code by removing the block diagrams, I do not believe this will be a proper work around in this case.  While this removes the block diagram from actually being deployed along with the VI and restricts users from editing the code on the deployment machine, if something is getting changed in the compiled code upon deployment, this will not stop this from happening.  This option is available more as a memory option to lower the size of the deployment as well as prohibit any users on the development machine from editing the block diagram themselves.    
    Thanks, Ching-Hwa!  I look forward to your response so that I can continue trying to reproduce this issue.  Have a great day! 
    Taylor G.
    Product Support Engineer
    National Instruments
    www.ni.com/support

Maybe you are looking for

  • How do I cancel a download?

    I clicked download thinking that a payment window would come up and I could use my iTunes card, which I hadn't redeemed yet. Instead, the album began downloading immediately! I am trying to delete the songs from the downloaded and purchased windows b

  • XML Processing Approaches with Java

    When I want to manipulate and retrieve data from XML file, I used to use DOM or SAX, and this is JAXP API from Sun. Some people told me I should use XPath instead, since it's easier for coding. But we need to use apache's xalan library. What do u thi

  • Custom JATO components

    hi ... i have just about started using jato in conjunction with S1Studio and find it a real great asset ... we are trying to build custom jato components which can be packaged into a jar file and used like any other standard jato component ... e.g. i

  • Missing movies in project since iOS 8 and iCloud Photo Library

    Hi, I've been to Europe this summer and created a movie in iMovie for iOS. That was when iOS 7.1.2 was the most current release. Today, I wanted to finish up my project. I'm currently running on iPad air, iOS 8.0.2, latest release of iMovie and iClou

  • Missing disk space after crash

    In the middle of burning a backup to DVD, my machine crashed (old emac, OX X 10.3.x). Afterwards, it seems like about 30gig of disk space has disappeared (the disk went from 15G of 55G used to 52G used). Disk utility found nothing wrong, Norton Utili