+ Reply to Thread
Results 1 to 3 of 3

Check if listobject exists in workbook

  1. #1
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,940

    Check if listobject exists in workbook

    Hi,

    i have table name:

    t_ServerSizeAllNW

    It is possible without looping to check if listobject exists in workbook?
    like if workbook.listobjects("t_ServerSizeAllNW")?

    Best,
    Jacek

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,913

    Re: Check if listobject exists in workbook

    I can't see the point, but you can use an error handler with something like:

    Please Login or Register  to view this content.
    Rory

  3. #3
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,940

    Re: Check if listobject exists in workbook

    thank you Rory you are the best!

    Jacek

+ 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. Copying worksheet with listobject - the name already exists
    By jaryszek in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-09-2018, 04:49 AM
  2. [SOLVED] How can I check if a defined Name exists in a closed workbook?
    By Tooley in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-09-2018, 12:39 PM
  3. [SOLVED] VBA to create workbook from sheet name, check if file exists
    By maym in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 07-08-2016, 01:04 AM
  4. VBA to check if worksheet is exists and blank within same workbook
    By Abdur_rahman in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-28-2013, 05:28 AM
  5. Check if sheet exists in another workbook
    By arlu1201 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-12-2013, 02:49 PM
  6. Check if sheet from list exists in workbook
    By arlu1201 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-25-2011, 02:13 PM
  7. Check if sheet exists in a closed workbook
    By FrigidDigit in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-25-2005, 02:05 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