Open xml file in excel - default should be selected

Hi All,
I have done an Application to Export the Table data to Excel . I have done it successfully.
But at the time of exporting the data to excel, it is prompting for the following options
How to Open Files in Excel
When you open an XML file in Excel, you are prompted to select one of the following methods to import the XML data:
                   As an XML list
                   As a read-only workbook
                   Use the XML Source task pane
I dont want to see these three options (by default First should be selected). How can i do this.
Thanks in Advance for ur replies.
Regards,
Malla

Hi,
I am not sure how much this information helps to you. I am postiong this information to give you an idea.
If you are able to achive this please let me know.
As per my analysis it is not possible to hide these options.
Even if you crate one .xml file on your desktop and if you open with Microsoft Excel it will give these three options. You have to select one of the options.
I think WD Node data will be converted to xml and it will be opened through Microsoft Excel i guess.
There are specific reasons why Microsoft Excel ask to choose these options when we try to open an xml file in Excel.
As an XML list
An XML list is created in a new workbook.
The contents of the file are imported into the XML list. If the XML data file does not refer to a schema, then Microsoft Excel will infer the schema of the XML data file.
As a read-only workbook
The XML data file is opened as a read-only workbook. The structure of the file is flattened.
Use the XML Source task pane
Use the XML Source task pane
The schema of the XML data file is displayed in the XML Source task pane. You can then drag elements of the schema to the worksheet to map those elements to the worksheet.
If you are opening an XML data file that does not refer to a schema, then Excel will infer the schema of the XML data file.
Regards,
Charan

Similar Messages

  • Open XML file with user default browser and not the default editor.

    Hi,
    I'm writing a java program that appends numerous XML files together. The result is a NEW well formed XML document. Since i have an XSLT that performs several UI modifications on this xml file, the file extension must remain '.xml'. I need to open this xml file with the users default web browser. The problem is that:
    Runtime.getRuntime().exec(cmd);
    ....opens the xml file with the users default program for opening xml files which in my case is Oxygen. I want to force java to open this xml file with the users default web browser and nothing else.
    I guess i need the Windows command to perform the 'open with' feature but i have no idea what that command is or how to find it.
    Any ideas?
    Thanks,
    Varun Singh
    Edited by: Jagara00 on Jul 2, 2009 3:49 PM

    sabre150 wrote:
    Jagara00 wrote:
    Your right, but my question relates to the java issue and not the XSLT aspect of the problem. I am looking for a java solution for reasons i will no go into here. You have lost me.Me too.
    People do not often ask questions (or make challenges or observations) idly for the sake of 'theory'. It is most useful to explain to the best of your ability.
    As to
    "Since the Desktop class was only released with SE 6 I am forced to find another alternative. "
    There is an 'alternative'. You can import it into a 1.5 project. It was available as a free standing API before 1.6 - through JDIC. See [https://jdic.dev.java.net/documentation/Examples.html|https://jdic.dev.java.net/documentation/Examples.html] for more info.
    Edit 1:
    To a later reply
    "Do u .."
    ..want to spell incorrectly when you get frustrated?
    "..do not wish to.."
    ..get any help? That is the way you are heading.
    Edited by: AndrewThompson64 on Jul 3, 2009 9:27 AM

  • As opening an xml file in excel?

    I can not open a xml file in excel, and I get a message that is not a valid spreadsheet, and if the same file can be opened from a normal machine, anyone know how?

    altairdfdfdf wrote:
    I can not open a xml file in excel, and I get a message that is not a valid spreadsheet,
    It's not a spreadsheet, that is why.
    Open it with TextEdit.

  • How to automatically open csv files in Excel on imac

    I am migrating back from Google Chrome to firefox and would like to have the browser automatically open csv files to Excel on my mac desktop. The step to have them saved in the download folder and then go in an open it in Excel adds an unnecessary action. In the earlier versions of Firefox on my windows machine this worked as desired. Any help will be appreciated.

    The Yahoo Finance server sends the file with the ''Content-Type: application/octet-stream'' header. This is a generic MIME type that doesn't describe the type of file. Therefore you will always see a download prompt, regardless of your download preferences.
    * [https://developer.mozilla.org/docs/Web/Security/Securing_your_site/Configuring_server_MIME_types What are MIME types? | MDN]
    To get around this issue, install the Force Content-Type add-on.
    * https://addons.mozilla.org/firefox/addon/force-content-type/
    In the Add-ons Manager, Extensions category, click the Options button next to Force Content-Type. Create two rules as follows:
    * URL: '''(.csv)$''' Old Content-Type: '''text/plain''' New Content-Type: '''text/csv'''
    * URL: '''(.csv)$''' Old Content-Type: '''application/octet-stream''' New Content-Type: '''text/csv'''
    You should then be able to select what you want to do with CSV files (i.e. open them directly rather than save), and check the "Do this automatically…" option.
    You're welcome.

  • Error message in .docx : 'Open XML file cannot be opened because there are problems with the contents. Details Unspecific error Location: 2'

    I have put a lot of work into a docx document on my Mac, but now can't open it as it gives the error message: 'the Open XML file cannot be opened because there are problems with the contents. Details, Unspecific
    error, Location: 2'
    When opening the original file the message said: 'this file contains word 2007 for Windows equations' etc. but I managed to track changes fine, and saved, closed and re-opened it numerous times without problem. Some graphs seemed moved, and various formulas
    were illegible, but no other weirdness was observed.
    I have microsoft 2008 installed on my Mac OS X version 10.6.8.
    I've tried to fix it using various solutions suggested here, but am afraid am too IT illiterate to have had any luck, please help I'm new to all this!
    I've uploaded it to https://www.dropbox.com/s/hkw9k6lyihzoxpc/SittwayPauktawSQUEACREPORT_KD%2BCH.docx

    Hi,
    This issue is related strictly to oMath tags and occurs when a graphical object or text box is anchored to the same paragraph that contains the equation.
    Please use the "Fix it" tool in the following KB article to resolve the problem. See:
    http://support.microsoft.com/kb/2528942
    Hope this helps.
    Regards,
    Steve Fan
    TechNet Community Support

  • The Open XML file cannot be opened?

    Hello there,
    I tried to open my novel that I had been writing on Word Document but I cannot. A box pops up with this wording...
    The Open XML file Villain.docx cannot be opened because there are problems with the contents or the file name migh contain invalid characters.
    Details
    No error detail available
    And then when I click 'OK', another message pops up...
    Word found unreadable content in Villain.docx.
    Do you want to recover the contents of this document? If you trust the source of this document, click Yes.
    But just as I begin to think I have solved it...
    The Open XML file Villain.docx cannot be opened because there are problems with the contents or the file name migh contain invalid characters.
    Details
    No error detail available
    Location: 2
    I don't understand this! What does it mean? And how can I re-open it? I can't lose this data!

    So... nobody knows how to possibly fix this?

  • How to convert  XML file to excel file

    To convert XML file to excel file. what are the jar files required. also tutorial to convert XML File to excel file

    Gotta use your own imagination.
    I'd have a root tag <excel-spreadsheet>. Under that I'd have a <worksheet> tag for each worksheet. Under that I'd have a <row> tag for each row. Each <row> tag would have <column> tags, with "name" attribute, and the spreadsheet entry as the value.
    The problem is that you can't really map everything that will go into a spreadsheet into this stream (e.g., graphs, stray cells, etc.) It maps well to tables, but that's it.

  • How to open XML file in Netscape

    How to open XML file in Netscape.....
    XML file is opening correctly in IE, but giving error in Netscape.Error is
    Error loading stylesheet: Parsing and XSLT stylesheet failed....
    Reply me soon..............

    You may check these tips:
    How to Access Local File Systems from J2ME devices using FileConnection API
    http://www.java-tips.org/content/view/109/73/
    Opening and reading a file on the mobile device
    http://www.java-tips.org/content/view/352/73/

  • How to open XML files?

    Could someone suggest me how to open XML files? (Microsoft free XML converter doesn't work for all files)

    There are several XML editors available at VersionTracker or MacUpdate.

  • Issues opening xml files in CS6

    I'm having a problem opening xml files in CS6. Currently, I'm able to load Dreamweaver CS6, but when I open a file labeled as .xml, the application freezes up. I have already set up my preferences to read .xml files. (some background info: I do have a previous version of 5.5 installed on the same machine. I could guess that the problem could be associated with having an earlier version of dreamweaver installed at the same time, but why would it only affect xml files?)

    Have you tried opening the .xml file in NotePad or some other simple text editor? just to verify that the file is good and not corrupted.

  • Why can't I open .csv files in Excel 2013?

    We purchased (20) new machines all with Office 2013 (OEM) version.  We can no longer open .csv files with Excel 2013.  When we go to a machine with Office 2010 it opens perfectly.  The issue is with some change to Excel.  I see a lot
    of complaints on the internet about this issue.  Since we have OEM versions of Office, I am not entitled to a downgrade to 2010.  I need to know what Microsoft is doing to fix this issue, or need them to grant us rights to downgrade. 

    Hi,
    In regarding the issue, I had tested in Excel 2013 of my PC. It seems worked fine. Thus, I suggest you try to do the following methods to test.
    1. Import the CSV file into Excel 2013. Click Data tab>From Text
    http://superuser.com/questions/407082/easiest-way-to-open-csv-with-commas-in-excel
    2. Did you get en error message "SYLK: File format is not valid" when you open CSV file?
    If it was, please try to follow the link to fix the issue:
    http://support.microsoft.com/kb/323626
    3. Please try copy one of the CSV file to notepad and save it as a new name to test.
    4. You'd better upgrade the lastest patches.
    Regards,
    George Zhao
    TechNet Community Support

  • Open XML file ___ cannot be opened...

    I have read of several people having the same problem but cannot find a definitive answer. I am on an iMac with version 10.6.8 OS X.  I bought and installed Office 2011 last week (version 14.4.0) and I cannot open any file that I had created in version 2008 nor any file sent to me (I use Outlook Web email).  The complete error message is:  "The Open XML file solar.docx cannot be opened because there are problems with the contents or the file name might contain invalid characters (for example, \/)."  I am at a loss as what do do.  I am not a "techie" person, so any fix needs to be "spelled" out clearly.
    Thanks for any help.
    ~Cynthia

    http://answers.microsoft.com/en-us/mac
    iMac refurb (27-inch Mid 2011), OS X Mavericks (10.9.4), SL & ML, G4 450 MP w/Leopard, 9.2.2

  • Opening TDMS files in Excel - column limit

    Hi all,
    I'm saving data I obtain using LabVIEW as a TDMS file and have downloaded the add-in to open the files in Excel:
    http://zone.ni.com/devzone/cda/epd/p/id/2944
    I'm using Excel 2007, which has a column limit of 16384 and a row limit of 1048576.  Each of my datasets is 1024 rows values large and I have 10,000 datasets in total - well within either limit.  However, the Excel importer will not open the file - pop-up errors occur and Excel opens multiple files.  Has anyone encountered this before?
    Miika

    Have the same issue.  As requested, I've attached a file with 300 dummy groups, each of which as 4 channels of dummy data.
    When loaded into Excel, only the first 254 groups are shown:
    Certified LabVIEW Architect
    Wait for Flag / Set Flag
    Separate Views from Implementation for Strict Type Defs
    Attachments:
    abc.vi ‏3381 KB

  • Hi Everyone, Just wanted to seek your assistance. We're using and Adobe InDesign CS6. The XMedia UI Plugin for it, will it allow you to open .xml files in InDesign or that plugin is just used for Importing XML? Thanks in advance.

    Hi Everyone, Just wanted to seek your assistance. We're using and Adobe InDesign CS6. The XMedia UI Plugin for it, will it allow you to open .xml files in InDesign or that plugin is just used for Importing XML? Thanks in advance.

    I've moved your question to the InDesign forum.

  • How to open xml file in MIDP?

    Hi,
    I want to open xml file which stored localally, for reading and writing operation.
    Is it possible to open file in J2ME, if not possible is any other way to handle file operation. please guide me.
    Note: I want to open file which stored locally.

    You may check these tips:
    How to Access Local File Systems from J2ME devices using FileConnection API
    http://www.java-tips.org/content/view/109/73/
    Opening and reading a file on the mobile device
    http://www.java-tips.org/content/view/352/73/

Maybe you are looking for

  • HT1382 How can I copy over my contact list from my ipod touch 3 to my new ipod touch 5 ?

    How can I copy over my contact list from my ipod touch 3 to my new ipod touch 5 ??

  • Why won't Photoshop Elements open?

        I have PSE 3.0 which used to work fine.  Now I click on it and it won't open.  The opening screen comes up and it says it is loading various files and then it just disappears.  It does not show up in task manager.  I have inserted the DVD and don

  • My iphone 5 has a bad signal reception LTE turned off any suggestions

    I purchased my Iphone 5 last November 2012 by Cosmote Greek network provider. I am using an iphone 3GS as well and I can compare the strength of the signal reception all time. Usually the 3GS has 3 signal bars more than the Iphone 5 which many times

  • Ilustrator CS4+Snow Leopard Profile issues

    Seems like something is not working in Cs4 Illustrator with Snow Leopard. Can someone give it a try to verify. When I print to my Epson 3800 from Illust. It's not matching the same image printed via PS Cs4. ( It should if you follow a controlled work

  • Call of duty4 download failed

    I bought call of duty 4 in Store days before when I was in travelling, the connection speed was suck, so today I back home and want to download again, my app store told me that AN ERROR HAS OCCURRED. Whatever I try to sign out and in or restart my ma