Results 1 to 8 of 8

Thread: Convert selected file to XML and save.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Junior Member
    Join Date
    Oct 2013
    Posts
    24
    Rep Power
    0

    Macro to fetch the xml file

    Hi Team,

    I developed a macro wherein you need to enter the required values for the columns and then on pressing the button the macro will run and generate a xml file.

    The issue I face is when I press the button and xml file is generated and saved in the desktop, again on changing the data and running the macro error appears as below screen shot. This is because that when the output xml file is available in the desktop and trying to regenerate the output file, it generates with the same name in that case the error appears. But this should not be the case it should update or replace the xml file generated.

    Also one more issues is whenever the xml file is getting stored it always look for my desktop location, my desktop location is hard coded in this. Not sure how to make this a generic one so that it will work in others pc too.


    Please advise.



    Capture1.jpg

    Regards
    Dhivya
    Last edited by dhivya.enjoy; 10-04-2013 at 07:02 PM.

Similar Threads

  1. Replies: 4
    Last Post: 06-20-2013, 04:25 PM
  2. Save Worksheets As New File To Specific Folder
    By k0st4din in forum Excel Help
    Replies: 18
    Last Post: 06-08-2013, 04:24 PM
  3. Replies: 1
    Last Post: 03-07-2013, 11:42 AM
  4. Replies: 12
    Last Post: 08-19-2012, 06:17 PM
  5. Save File In CSV Format VBA
    By Raj Kumar in forum Excel Help
    Replies: 3
    Last Post: 06-01-2011, 07:22 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •