Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7746739
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T10:21:20+00:00 2026-06-01T10:21:20+00:00

I have an Excel Workbook that has several worksheets in it. The tables in

  • 0

I have an Excel Workbook that has several worksheets in it. The tables in the worksheets have been assigned names using the Name Manager in Excel. Is there a way to get a list of these table names, instead of the worksheet names?

For instance, where workbook is defined as a Microsoft.Office.Interop.Excel.Workbook:

var names = (workbook.Names as System.Collections.IEnumerable).Cast<Name>();

returns a list of defined name ranges in the workbook. Additionally:

var worksheets = workbook.Worksheets.Cast<Worksheet>();

returns a list of worksheets in the workbook, whose names are the same as the tab names of the worksheets.

Neither of these list the tables by their assigned names. They only list the tables by their worksheet name. I hope I’ve made the question clear enough, but I can provide an example if need be.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T10:21:21+00:00Added an answer on June 1, 2026 at 10:21 am

    For historical reasons, Tables in Excel are called Lists in the OM.

    What you are looking for are ListObjects on a Worksheet. A ListObject has a Range object attached to it, which you can use to figure out the name. DisplayName may return the name as well – I am not sure.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I have an excel workbook that has a nice global map of shaperange
I currently have a excel workbook that has values being pulled from other workbooks
I am using Excel 2007 with a workbook that has many sheets. I need
I have an Excel workbook that has a macro (the only macro in the
I have an Excel workbook that contains several spreadsheets. I need to pull data
I have a workbook (wkbk1) that has a sheet with eight different query tables
I have an Excel workbook that I want to use as a template. It
I have a VSTO Excel workbook that functions correctly in test. I can deploy
I have an excel workbook vsto solution that needs to generate a pdf copy
I have an excel 2003 vsto workbook that I would like to make available

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.