Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default converting excel to xml

I'm looking for a vba macro that will convert an excel file to xml. I found
this web site that has a vba macro created that does exactly what I want it
to, however when I imported the code as a module it did not work.

Here's where I got the vba code:
http://www.meadinkent.co.uk/xl_xml1.htm

I'm using Excel 2003 and have never installed a macro before, so I could be
doing something wrong, but when I try to run the macro, I get a message that
says "Compile Error: Syntax Error"


Thanks for your help




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 279
Default converting excel to xml

Assuming that you cut and pasted into a new module using the VBE editor...

Click anywhere in the code (for VBE click on sheet then alt &F11 and then
click on Debug)
the problem line of code should show up highlighted and you can repost it here

"Jacob" wrote:

I'm looking for a vba macro that will convert an excel file to xml. I found
this web site that has a vba macro created that does exactly what I want it
to, however when I imported the code as a module it did not work.

Here's where I got the vba code:
http://www.meadinkent.co.uk/xl_xml1.htm

I'm using Excel 2003 and have never installed a macro before, so I could be
doing something wrong, but when I try to run the macro, I get a message that
says "Compile Error: Syntax Error"


Thanks for your help




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting a date to a text field w/o converting it to a julian da LynnMinn Excel Worksheet Functions 2 March 6th 08 03:43 PM
Converting PDF to Excel Jalal Excel Discussion (Misc queries) 4 March 2nd 08 08:56 PM
Converting from WP to Excel Desiree- Excel Discussion (Misc queries) 1 September 6th 07 07:36 PM
Converting Excel to PDF? Sigi Rindler Excel Discussion (Misc queries) 3 October 27th 06 02:54 PM
Converting .wk4 to Excel Ginnalee Excel Discussion (Misc queries) 2 September 16th 05 01:39 AM


All times are GMT +1. The time now is 11:27 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"