+ Reply to Thread
Results 1 to 7 of 7

Need Help Constructing External Reference With Variables

  1. #1
    Registered User
    Join Date
    08-13-2010
    Location
    london, england
    MS-Off Ver
    Excel 2007
    Posts
    5

    Need Help Constructing External Reference With Variables

    Hi There,

    I have a sheet which I use to collate store information sent to me directly on a weekly basis, with each source sheet saved as store number, here is an example of one of the formulas.

    ='Macintosh HD:Users:thomassmedley:Desktop:Weekly Work Project:we010117:[175.xls]Weekly Work'!$C$3:$C$63

    The sheet name will always remain constant e.g. 175.xls, however i want to remove the path and final folder and replace it simply with current directory, as this file will sit in the same folder as the source workbooks.

    I'm using Excel For Mac 2011, and am really unsure how to do this.

    Thanks,

    Tom

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Need Help Constructing External Reference With Variables

    The path will always show, if the file is closed.

    this is a link to a closed file...
    ='C:\Users\Ford\Downloads\excel forum\[testing.xlsm]Formulas 1'!$A$27
    and this is that same link when that file is open...
    ='[testing.xlsm]Formulas 1'!$A$27
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Need Help Constructing External Reference With Variables

    another duplicate post by the forum

  4. #4
    Registered User
    Join Date
    08-13-2010
    Location
    london, england
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Need Help Constructing External Reference With Variables

    For example i give this sheet to my colleague to use and he puts it in a different folder, along with the source files, i want it to link to them, rather than a hardcoded reference e.g. look in the local folder for the files.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Need Help Constructing External Reference With Variables

    OK, have you tried to just remove the path?
    ='[175.xls]Weekly Work'!$C$3:$C$63

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Need Help Constructing External Reference With Variables

    OK, have you tried to just remove the path?
    ='[175.xls]Weekly Work'!$C$3:$C$63

  7. #7
    Registered User
    Join Date
    08-13-2010
    Location
    london, england
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Need Help Constructing External Reference With Variables

    Yes, if you then move back onto the cell it shows the full path

+ 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. [SOLVED] Using for loop variables in constructing userform object name references
    By CaptainK in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-19-2014, 04:02 PM
  2. Constructing an array reference with CONCATENATE
    By lauraleff in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-22-2011, 02:10 PM
  3. Replies: 3
    Last Post: 05-13-2009, 11:51 PM
  4. Replies: 2
    Last Post: 05-01-2009, 07:06 PM
  5. RE-submitting of: constructing (complex) variables with worksheet functions
    By broer konijn in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-13-2006, 06:36 AM
  6. constructing (complex) variables with worksheet functions
    By broer konijn in forum Excel General
    Replies: 0
    Last Post: 05-16-2006, 05:55 PM
  7. Constructing a Cell Reference
    By AthleteTO in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-19-2005, 08:30 PM

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