+ Reply to Thread
Results 1 to 5 of 5

Export Worksheets

  1. #1
    Forum Contributor
    Join Date
    04-03-2014
    Location
    Berlin
    MS-Off Ver
    Excel 2010
    Posts
    160

    Export Worksheets

    Hi guys,

    I have a huge excel file with several worksheets.
    I'm looking for a macro that would enable me to export only certain Worksheets from this file into a separate excel file.
    The sheets are: "Overview", "Total", "Accounting", "Controlling", "HR", "Miscellaneous", and "Graph Input".

    The output should take over the formatting of the original as well as the name of each tab, however not the formulas behind figures.
    The name of the output file can be taken from Sheet ("Overview").Range("M17")

    Any help would be very much appreciated!

    Thanks!

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Export Worksheets

    Try this... (Un-tested Code)

    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Contributor
    Join Date
    04-03-2014
    Location
    Berlin
    MS-Off Ver
    Excel 2010
    Posts
    160

    Re: Export Worksheets

    It worked like a charm!!!

    Thank you very much!

    One short question still regarding this
    Please Login or Register  to view this content.
    As the output does not necessarily need to be a ".xlsm", I changed into a ".xlsx". However, I am getting a 1004 error on that line.

    Cheers

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Export Worksheets

    Change this also

    Please Login or Register  to view this content.
    To

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    04-03-2014
    Location
    Berlin
    MS-Off Ver
    Excel 2010
    Posts
    160

    Re: Export Worksheets

    Perfect!

    Many thanks!

+ 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. Export Specified Worksheets
    By HangMan in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-19-2014, 01:45 PM
  2. [SOLVED] Export Specified Worksheets to PDF
    By dmarzean in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-19-2014, 03:30 AM
  3. Replies: 1
    Last Post: 10-30-2012, 06:34 PM
  4. Export worksheets
    By mjhopler in forum Excel General
    Replies: 2
    Last Post: 06-14-2010, 01:02 PM
  5. XML Export and worksheets
    By WHoit in forum Excel General
    Replies: 0
    Last Post: 03-15-2005, 07:06 PM

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