Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default Macro For Saving As .txt

I want to have a macro in my Personal Macro Workbook where I can save a .xls
file as a .txt (tab-delimited) where I can type in a new name. Please help.
Thanks,
Josh
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 320
Default Macro For Saving As .txt

Sub SaveAsTxt()
Dim Ans As String
Ans = Application.GetSaveAsFilename("", "text files, *.Txt")
If Ans < "False" Then ActiveWorkbook.SaveAs Ans
End Sub

"jshendel" wrote:

I want to have a macro in my Personal Macro Workbook where I can save a .xls
file as a .txt (tab-delimited) where I can type in a new name. Please help.
Thanks,
Josh

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
Saving Macro whatzzup Excel Discussion (Misc queries) 2 April 24th 08 09:22 AM
Help with saving a Macro Keepsmiling1228 Excel Worksheet Functions 1 April 2nd 08 12:31 AM
Saving a macro Bill New Users to Excel 1 July 12th 07 08:53 AM
Saving with Macro mabbutt Excel Discussion (Misc queries) 2 May 11th 06 03:39 PM
Saving without Macro mrbalaje Excel Discussion (Misc queries) 0 May 6th 05 11:41 AM


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