Results 1 to 24 of 24

Macro for save as as TXT

Threaded View

  1. #1
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    440

    Macro for save as as TXT

    Hi,

    I have use a macro to general text and add rows, but I would like to macro to also Save the result from excel to a text file. Can anyone help me to be able to automatically generate the .txt file into same directory after running the macro?
    Also, when applying the first macro, is it possible to also do:
    If character count is not 9 character, then add "_" underscore to data until it reaches 9 characters?

    Here is the macro and the final text file that should be like;
    HELP.xlsm

    HELP.txt
    Thanks anyone for help.
    Last edited by calvinle; 03-13-2014 at 11:56 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. how to specify a file save path to a save macro
    By Solidstan in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-04-2013, 05:33 PM
  2. Macro to disable SAVE and SAVE AS
    By Charmymay in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-04-2013, 10:06 AM
  3. Macro with cell reference as a name, but prompt for save location and save as csv
    By tomham in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-15-2012, 06:21 PM
  4. [SOLVED] Macro to save sheets as different workbooks on save
    By BridgeCat in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-09-2012, 08:10 AM
  5. where can i find macro codes for various functions such print, save and save as
    By fellayaboy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-23-2011, 02:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1