LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default SaveAs matter: How can I save the worksheet on an external .xml keeping the .xls opened?

To start, hi everybody.

I have a request: I need to write down a macro to save an .xls
worksheet into XML format but (at the same time) I don't want that the
xml file became the new opened one.

Let me explain you a little bit better:
1 - I have a file called 'stefano.xls'
2 - with this macro...

strFileName = "c:\temp\stefano.xml"
ActiveWorkbook.SaveAs Filename:=strFileName,
FileFormat:=xlXMLSpreadsheet, ReadOnlyRecommended:=False,
CreateBackup:=False

....I'm able to save it onto XML format that I can use to update a web
page but (unfortunately) at this moment if I make any further
modification on my workskeet I do them on XML worksheet and not on
original .xls.

The request is:
How can I save the .xml on an external file but keeping the .xls
opened?

The request is infact to add a further piece of code to above macro in
order to connect via FTP to my site, update the file and come back to
original project.

I hope it's clear and I really thank everybody will help me!

Ciao!
Stefano, Milan, Italy

 
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
disable save and saveas from menubar and save via command button Steve E Excel Programming 5 September 13th 06 11:51 PM
Data from Excel 2000 Worksheet with external links is not displayed when opened in Excel 2003 Rich Rodberg Links and Linking in Excel 1 October 21st 05 07:53 AM
Keeping a workbook hidden when opened via VBA??? Simon Lloyd[_585_] Excel Programming 3 October 6th 04 03:21 PM
Keeping a workbook hidden when opened via VBA??? Simon Lloyd[_586_] Excel Programming 0 October 6th 04 03:16 PM
Updating from external file & keeping previous data static Mildred Excel Programming 2 April 12th 04 10:28 AM


All times are GMT +1. The time now is 12:43 PM.

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

About Us

"It's about Microsoft Excel"