+ Reply to Thread
Results 1 to 5 of 5

Get.Workbook(1) + Other Files

  1. #1
    Registered User
    Join Date
    01-15-2021
    Location
    England
    MS-Off Ver
    365
    Posts
    10

    Question Get.Workbook(1) + Other Files

    Hello

    Can I somehow wrap the "=GET.WORKBOOK(1)" function used with Name Manager to get the workbook and sheet names of 'other' excel files (not the active workbook) if I have the file path of each file ?

    I am trying to create a list of SHEET names from numerous excel files.

    Thanks

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,787

    Re: Get.Workbook(1) + Other Files

    Yes but the other workbook needs to be open
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    01-15-2021
    Location
    England
    MS-Off Ver
    365
    Posts
    10

    Re: Get.Workbook(1) + Other Files

    excellent thank you.

    I am using this now as "=GET.WORKBOOK(1,ShPt_List_Query[File.Name])" using power query to get a list of files on a share point site showing them as a table and referencing in the NAME

    Works great but it only give me the first sheet on each workbook - is there a way of expanding to get all sheet names ?

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,787

    Re: Get.Workbook(1) + Other Files

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,787

    Re: Get.Workbook(1) + Other Files

    Another option depending on how you want to display the sheet names
    Formula: copy to clipboard
    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. Replies: 3
    Last Post: 06-28-2020, 09:05 AM
  2. Replies: 1
    Last Post: 12-02-2019, 11:04 PM
  3. macro to open files and copy specific sheet into new workbook (have open files part)
    By dangerdavedsp in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-04-2015, 02:23 PM
  4. [SOLVED] VBA - Excel code to copy and paste from several Sharepoint workbook files to one workbook
    By TraceyPatterson in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-27-2015, 06:45 AM
  5. [SOLVED] Macro to Import Multiple TXT Files into workbook - User to select files/directory
    By saber007 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-15-2013, 08:43 PM
  6. [SOLVED] Create CSV files from 2-3 worksheets from workbook & keep workbook intact
    By clage in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-22-2013, 01:15 PM
  7. [SOLVED] Select sheet tabs in workbook & save to separate workbook files
    By stratocaster in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-01-2006, 11:40 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