+ Reply to Thread
Results 1 to 5 of 5

Moving Worksheets to Workooks VBA

  1. #1
    Registered User
    Join Date
    01-14-2013
    Location
    Derby
    MS-Off Ver
    Excel 2007
    Posts
    28

    Moving Worksheets to Workooks VBA

    Hi all,

    Can someone help me with code to move a worksheet to a new workbook and save the file as the name of the worksheet. I have a spreadsheet with hundreds of tabs which need to be copied into a workbook titled by the tab name.

    Example attached -

    So move Tab called A to a workbook titled A
    Then Tab B to a workbook titled B

    All data needs to be captured.

    Thank you.
    Attached Files Attached Files
    Last edited by gallen6945; 10-25-2023 at 05:09 AM.

  2. #2
    Forum Contributor
    Join Date
    10-16-2023
    Location
    Poland
    MS-Off Ver
    Excel 2019 32bit WIN10
    Posts
    142

    Re: Moving Worksheets to Workooks VBA

    Check this:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    01-14-2013
    Location
    Derby
    MS-Off Ver
    Excel 2007
    Posts
    28

    Re: Moving Worksheets to Workooks VBA

    Superb - thank you!!!!

  4. #4
    Registered User
    Join Date
    01-14-2013
    Location
    Derby
    MS-Off Ver
    Excel 2007
    Posts
    28

    Re: Moving Worksheets to Workooks VBA

    Could you also assist me with the following code - I am trying to save the file (which has been formatted to print area , page setup etc) but I need to save the file as a PDF document in the same location as the Excel file?

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by jeffreybrown; 10-25-2023 at 11:35 AM. Reason: Please use code tags when posting code!

  5. #5
    Forum Contributor
    Join Date
    10-16-2023
    Location
    Poland
    MS-Off Ver
    Excel 2019 32bit WIN10
    Posts
    142

    Re: Moving Worksheets to Workooks VBA

    Check this:
    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. Paste multiple cell values from multiple workooks into one workbook
    By wegkruip in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-22-2010, 08:04 AM
  2. moving cursor on 2 worksheets
    By ench101 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-29-2008, 04:32 PM
  3. Moving Between worksheets
    By T De Villiers in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-31-2006, 07:30 AM
  4. Moving between worksheets
    By Damon in forum Excel General
    Replies: 3
    Last Post: 07-07-2006, 12:35 PM
  5. Moving all worksheets
    By jerredjohnson in forum Excel General
    Replies: 1
    Last Post: 06-15-2006, 01:10 PM
  6. Moving Between Worksheets
    By wormdazzler in forum Excel General
    Replies: 3
    Last Post: 10-27-2005, 12:05 PM
  7. Moving worksheets in a book
    By Drakkip in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-18-2005, 10:06 AM
  8. [SOLVED] moving a row between worksheets
    By Amit in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 01-26-2005, 11: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