+ Reply to Thread
Results 1 to 1 of 1

Macro to save multiple text files

  1. #1
    Registered User
    Join Date
    03-06-2014
    Location
    uk
    MS-Off Ver
    Excel 2007
    Posts
    6

    Macro to save multiple text files

    Hi Friends,
    I am looking for a macro to create some text files and then zip them into folder. Will be greatful for your help. Here are the steps to be followed:


    1.Set formula to Automatic
    2.Create a folder with the name as per cell “C2” in “DATA” sheet in the path specified in cell “R2” in the “DATA Sheet”
    3.Copy “Cell F1” from data sheet into Cell “D2” in “GAR_IHD” Sheet
    4.Save the GAR_IHD Sheet as text file in the folder created in Step 2 above. File name should be as per Cell “S4” of the “DATA Sheet”
    5.Repeat step 3 and 4 again for 10 more times taking next cells like “G1” and “S5” from the “DATA” sheet
    6.Now Copy data from Cell “F2” downwards in column “G” of the “GAR_IDE” Sheet
    7.Save the GAR_IDE Sheet into the folder created in Step 2 as text file. File name should be as per cell “R4” of the “DATA” Sheet
    8.Repeat step 6 and 7 by taking next columns like “G2” onwards
    9.Zip the whole folder
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Open multiple text files to different sheets and save each sheet seperately
    By lance01 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-13-2014, 10:20 AM
  2. Macro to open multiple files, remove header and save multiple files in a new format
    By twocircles in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-17-2014, 05:24 PM
  3. Macro To save multiple Excel sheets to multiple (individual) PDF Files
    By Keith Edgar in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-21-2014, 12:51 PM
  4. I need to save several text files from a macro
    By hcarpenter in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-16-2013, 06:11 PM
  5. Replies: 2
    Last Post: 11-30-2005, 01:55 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