+ Reply to Thread
Results 1 to 3 of 3

Open a workshhet depending on a cell "name"

  1. #1
    Registered User
    Join Date
    07-14-2007
    Posts
    7

    Open a workshhet depending on a cell "name"

    Hello guys...

    Could i get your help please?

    My problem:

    Need to open a file from a excel worksheet, but the name of that file must be the text inside a cell.

    Example:

    cell a1=eglc

    so the file i need to open is eglc.xls

    how can i create that condition?

    Thanks

  2. #2
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Sure, with VBA. Will that file always be in the same directory is the current workbook? If so, you can use this simple procedure:
    Please Login or Register  to view this content.
    HTH

    Jason

  3. #3
    Registered User
    Join Date
    07-14-2007
    Posts
    7
    For example...

    CHECK---AIRPORT ----Takeoff----Landing
    Dep------EGLC-------25871
    Aircraft Take-off------20070
    Arr-------LPFR-------------------XXXXX
    Aircraft Landing-------------------015894



    For example:I need to check EGLC so the cell below "airport takeoff" must be [eglc.xls]Plan1'!$M$34 so i can take the takeoff value from the eglc.xls file.

    is there any chance to make of this [eglc.xls]Plan1'!$M$34 a condition, because i dont have only one airport to check but hundreds always depending on the airport ICAO code.

    Thanks for the help, most precious to me.

    THANKS
    Last edited by tromao; 07-14-2007 at 12:33 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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