Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default 2003 save workseet as

In Office 2003 excel

I'm trying to decipher how to save a worksheet which is explained in the
help files. Coming up short.

Say I want to save worksheet(n). Could someone write an example? Like to
save it as msdos txt or word? there seems to be about 25 choices but I
still don't understand the form.

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default 2003 save workseet as

From recording a macro I got this: ("Record 7" is the name of the
worksheet I wanted to save and "billing thingy.txt" is the name of the
file I save it to)

Sheets("Record 7").Select
Range("A1:E39").Select
ChDir "C:\Temp"
ActiveWorkbook.SaveAs Filename:= _
"C:\Tempp\billing thingy.txt" _
, FileFormat:=xlText, CreateBackup:=False

This seems to work except:

When the macro is finished the worksheet is renamed to the file name I
used. I don’t know why or how that happens and I suppose I could just
rename the sheet back again. But is there a way to make that NOT happen?

Thanks

John


John wrote:
In Office 2003 excel

I'm trying to decipher how to save a worksheet which is explained in the
help files. Coming up short.

Say I want to save worksheet(n). Could someone write an example? Like to
save it as msdos txt or word? there seems to be about 25 choices but I
still don't understand the form.

Thanks


--
R-e-t-u-r-n A-d-d-r-e-s-s I-n-s-t-r-u-c-t-i-o-n-s
Change LID to

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
Suddenly Save and Save as greyed out in Excel 2003 Pavitra Excel Discussion (Misc queries) 0 March 22nd 10 08:01 AM
Workseet shrink when printing. Gord Dibben Excel Discussion (Misc queries) 0 June 24th 08 06:09 PM
Workseet Colaberation catalyst Excel Worksheet Functions 0 February 8th 06 10:20 AM
Workseet linking map ixlr84fun Excel Discussion (Misc queries) 1 January 5th 06 01:09 AM
Put a Worksheet in a workseet? Jayna Excel Worksheet Functions 1 April 7th 05 03:02 PM


All times are GMT +1. The time now is 10:52 AM.

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"