Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 72
Default Saving one sheet as a seperate file

I have a macro that performs some calculations, and records specific
data to a sheet. I then open save the information from that sheet to a
text file. I would like to know how to save the data to an excel file,
rather than a text file.


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 252
Default Saving one sheet as a seperate file

Activate the sheet. Click on EditMove the SheetMove to new book.

If you want the code. Record the above.

"Claud Balls" wrote:

I have a macro that performs some calculations, and records specific
data to a sheet. I then open save the information from that sheet to a
text file. I would like to know how to save the data to an excel file,
rather than a text file.


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Saving one sheet as a seperate file


Worksheets("Sheet1").Copy
ActiveWorkbook.SaveAs Filename:="myFile.xls"

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Claud Balls" wrote in message
...
I have a macro that performs some calculations, and records specific
data to a sheet. I then open save the information from that sheet to a
text file. I would like to know how to save the data to an excel file,
rather than a text file.


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



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
Sending Difft Sheet as a seperate file thru email prasadpain Excel Worksheet Functions 1 September 7th 07 05:58 PM
Saving a sheet as a separate file Herren''s Excel Discussion (Misc queries) 2 March 30th 06 09:46 PM
Saving sheet to text file Rob Excel Discussion (Misc queries) 4 December 9th 05 09:55 PM
Is it possible to recover a deleted sheet after saving the file? RoseM Excel Discussion (Misc queries) 1 January 25th 05 03:04 PM
Saving sheet as a UTF8 file dejudicibus Excel Programming 0 November 16th 03 01:26 AM


All times are GMT +1. The time now is 08:11 AM.

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"