+ Reply to Thread
Results 1 to 3 of 3

How to create some kind of fixed reference to another workbook (and its own workbook)...

  1. #1
    Registered User
    Join Date
    03-22-2007
    Posts
    21

    How to create some kind of fixed reference to another workbook (and its own workbook)...

    Hi,
    Similar to the principle of a fixed reference (pointing one cell to another - so that when you copy it elsewhere it does not change), how can you achieve the same when pointing to another worksheet.

    My example:
    I have a table column where I am referencing a Totals cell in different workbooks. Row one in that column is referring to the Totals cell in its own workbook (workbook 1), row 2 is referring to the totals cell in workbook 2, etc etc. The problem is I am currently using a link (e.g. ='[Workbook1.xlsx]Worksheet1'!$A$2) which is fine when you are pointing to other workbooks, but within your own bookbook excel automatically converts it

    FROM ='[Workbook1.xlsx]Worksheet1'!$A$2
    TO ='Worksheet1!$A$2

    This is a problem for me because I want all the cells to be absolutely fixed to a workbook, so that I can easy copy and paste workbooks and simply rename them.
    Otherwise, when I copy Workbook1 to become Workbook2, for row 1 it will carry over "Worksheet1!$A$2" refering to itself as worksheet 2 and not worksheet1.

    A little difficult to explain, hope it makes sense. Essentially fixing a link to a workbook even if its linking to itself.

    Some very smart people on here, much smarter than myself.
    Thanks in advance,
    Paul

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: How to create some kind of fixed reference to another workbook (and its own workbook).

    Perhaps =INDIRECT("'[Workbook1.xlsx]Worksheet1'!$A$2")

  3. #3
    Registered User
    Join Date
    03-22-2007
    Posts
    21

    Re: How to create some kind of fixed reference to another workbook (and its own workbook).

    Thanks for replying Pepe - it seems to work for referencing the Totals cell in its own workbooks, but not the total cells in other workbooks which means I would not be able to use it for all and then copy, paste and rename the workbooks.

+ 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. Create & Use a UDF Without a Workbook Reference
    By sfrehling in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-15-2017, 05:18 PM
  2. Trying to create a cross reference sheet within a workbook
    By electromech in forum Excel General
    Replies: 5
    Last Post: 02-13-2014, 08:59 PM
  3. [SOLVED] Create new workbook, then REFERENCE it, Excel 2013
    By rbrian in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-02-2013, 09:09 AM
  4. [SOLVED] copy active sheet, create new workbook, name new workbook based on cell reference
    By jm0392 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-20-2012, 07:12 PM
  5. Replies: 0
    Last Post: 12-09-2008, 06:13 PM
  6. Create a workbook reference
    By nicolachen in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-21-2007, 05:09 PM
  7. Replies: 0
    Last Post: 08-04-2005, 11:05 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