+ Reply to Thread
Results 1 to 5 of 5

Create a list of all table names in Workbook

  1. #1
    Registered User
    Join Date
    03-01-2012
    Location
    Nottingham, England
    MS-Off Ver
    Excel 2010
    Posts
    64

    Create a list of all table names in Workbook

    Hello

    Just as the title suggests, I'm looking for a piece of VBA code that simply creates a list of all table names contained within a workbook. The first column would contain the name of each table, and the second column would contain the worksheet the table sits on. Any help in this matter would be massively appreciated

    Thanks all
    Kenny

  2. #2
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,908

    Re: Create a list of all table names in Workbook

    Something like this should work.
    Create a sheet called Summary to write results too.

    Please Login or Register  to view this content.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  3. #3
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Create a list of all table names in Workbook

    Hello try this code
    Please Login or Register  to view this content.
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  4. #4
    Registered User
    Join Date
    03-01-2012
    Location
    Nottingham, England
    MS-Off Ver
    Excel 2010
    Posts
    64

    Re: Create a list of all table names in Workbook

    Thank you both, both solutions work perfectly!

  5. #5
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Create a list of all table names in Workbook

    You're welcome. Glad it worked for you
    Please mark the thread as solved

    Regards

+ 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. [SOLVED] Create new workbook from two existing worksheets from list of names
    By Groovicles in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 08-10-2016, 12:30 PM
  2. [SOLVED] List in dynamic combobox which shows open workbook names and workshee names
    By igormigor in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-01-2016, 06:09 AM
  3. [SOLVED] Code to create a list of my worksheet workbook names
    By dwheggen1 in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 03-29-2015, 11:17 AM
  4. From A Table Of Names And Birth Dates Pull A List Of Names As Of A Reference Date And Ther
    By rahuleyes in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 17
    Last Post: 11-27-2014, 03:44 PM
  5. [SOLVED] Create a Drop down that will list all names starting with initial letter of names.
    By blue leader in forum Excel - New Users/Basics
    Replies: 9
    Last Post: 01-16-2014, 03:58 PM
  6. Replies: 3
    Last Post: 11-22-2013, 05:06 PM
  7. [SOLVED] Search a list of names and automatically return any names not already included in table
    By bishbash89 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-21-2013, 09:06 AM

Tags for this Thread

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