+ Reply to Thread
Results 1 to 2 of 2

open worksheet in a different workbook based on cell name in original workbook

  1. #1
    Registered User
    Join Date
    02-27-2017
    Location
    kent
    MS-Off Ver
    2007
    Posts
    41

    Unhappy open worksheet in a different workbook based on cell name in original workbook

    Hello!

    So I am creating a dashboard that searches through multiple workbooks for historical data based on an area.
    the dashboardworkbook contains an area name in cell F2 which varies based off of what the user wants to do.
    based on the dates they want to look at it loops through and pulls up the corresponding dataworkbook for each month.

    the datasheets all have a tab names of different areas.
    I have already written the code that pulls up each of the different workbooks.


    I have defined the name in cell f2 in the data sheet as sitename.



    I would like to be able to open a tab in the dataworkbook based off of sitename (I have tried activeworkbook.sitename.select and it didn't work)

    is this possible?

    Kind regards,

    T

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: open worksheet in a different workbook based on cell name in original workbook

    Try:

    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. Matching data from closed workbook with open workbook based on cell values
    By kbkrueger in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-14-2015, 07:42 PM
  2. Replies: 1
    Last Post: 07-17-2014, 12:06 PM
  3. Open Multiple Files, Copy Worksheet, Paste in to Specific Tab in Original Workbook
    By freybe06 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-30-2013, 10:27 AM
  4. [SOLVED] Macro to open workbook and go to specific worksheet based on cell reference
    By ajmartin17 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-15-2013, 10:44 AM
  5. [SOLVED] open another workbook - close - see again original form
    By MJR in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-21-2012, 03:09 AM
  6. [SOLVED] Save workbook keep original open
    By mspeck in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-09-2012, 08:00 AM
  7. Saving workbook as notepad using cell data for filename & retaining original workbook name
    By peterkerr_13 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-26-2012, 08:07 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