+ Reply to Thread
Results 1 to 4 of 4

Save each row in a sheet including header as separate excel file.

  1. #1
    Registered User
    Join Date
    05-25-2022
    Location
    uk
    MS-Off Ver
    10
    Posts
    2

    Save each row in a sheet including header as separate excel file.

    Please would it be possible to help me. I want to save each row in one excel sheet including the header into a seperate excel files using column A as the file name. Many thanks

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,617

    Re: Save each row in a sheet including header as separate excel file.

    One of the options could be:

    Please Login or Register  to view this content.
    Note that it takes some time to save each file this way, so if you have many rows one tea mug may be not enough while you wait :-)

    Save the attached file, run the macro inside (see above) and all created files shall be created in the same folder.
    Attached Files Attached Files
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    05-25-2022
    Location
    uk
    MS-Off Ver
    10
    Posts
    2

    Re: Save each row in a sheet including header as separate excel file.

    This is fantastic, thank you so much. Is it possible to add a line if no data in A2 then end as it errors at the end but works a treat. You have made my day. Thank you.

  4. #4
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,617

    Re: Save each row in a sheet including header as separate excel file.

    Try such modification:

    Please Login or Register  to view this content.

+ 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. Macro to export one tab from excel and save a separate sheet in specific file location
    By Mattyevs1000 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-19-2021, 09:22 AM
  2. [SOLVED] Save each row as a separate file with the same header
    By Choochi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-28-2021, 09:38 AM
  3. Replies: 0
    Last Post: 06-21-2018, 11:52 AM
  4. [SOLVED] writing excel file to separate tab separated text files with header in each
    By gsindby in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-15-2014, 10:19 AM
  5. save a single sheet from a workbook as a separate file?
    By lottesfog in forum Excel General
    Replies: 5
    Last Post: 12-13-2007, 12:45 AM
  6. [SOLVED] How do I copy all of excel file including header
    By Donna in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-22-2005, 12:05 PM
  7. [SOLVED] How do I save each sheet as a separate .xls file by using macro?
    By Min in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-18-2005, 10: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