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 File formatting!

Hello all!

I was trying save a particular sheet in an Excel workbook into a text
format. However the user should be able to name his own text file and
the Excel macro should save that in a particular folder. I used the
following commands for the task.


filesaveName = Application.GetSaveAsFilename( _
fileFilter:="Text Files (*.txt), *.txt")
If filesaveName < False Then
MsgBox "Save as " & filesaveName
End If

Sheet1.SaveAs FileName:=filesaveName, where here active sheet is
sheet1.


It is saving the file with the user defined name, but still in an excel
format and am not able to open the same using notepad.

Any help would be greatly appreciated guys.
Thanks.

Arun. Iyer
Vextec Corp.


---
Message posted from http://www.ExcelForum.com/

 
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
Excel file formatting Jcraig713 Excel Discussion (Misc queries) 1 September 2nd 08 08:59 PM
Formatting .txt File Gator Excel Discussion (Misc queries) 1 October 4th 07 08:47 PM
Re-formatting when saving as HTM file. Brett K Excel Discussion (Misc queries) 1 November 7th 06 04:41 PM
Is it possible to link cell formatting in Excel from file to file KimW Excel Discussion (Misc queries) 4 August 17th 06 07:03 PM
Formatting of Data from .CSV file Night Owl Excel Worksheet Functions 0 May 10th 05 05:40 PM


All times are GMT +1. The time now is 08:33 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"