Cannot setup a link to a cell in another workbook

stuartgb100

Active Member
Joined
May 10, 2015
Messages
322
Office Version
  1. 2021
Platform
  1. Windows
Hi,
New to this, but have tried this:
Two workbooks open side by side in the display.
In a cell in a sheet in one workbook, I type an '=' sign.
I then click on a cell in a sheet from the 2nd workbook, and press Return.

Nothing seems to happen. No formula referencing the cell in the 2nd workbook is returned to the 1st workbook.

Am I doing something wrong ?

Thanks.
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
You have to press twice, once to change window and a second time to select the cell. You can also type
Code:
=[Book2]Sheet1!A1
in Book1.
Of cource your book2 needs to be unprotect of cell selection to do it by click
 
Upvote 0
Thanks Kamolga,

Yes I have pressed twice (once to 'activate' the source, and 2nd to highlight the cell in question).
Neither workbook/sheet is protected.
 
Upvote 0
If you do it on 2 new workbooks, does it work?
If those workbooks are not yours, you can right-click the sheet name and click on view code. If the part on the right is not empty or if there is a module in left column, it could be a macro cancelling/blocking the operation.
 
Upvote 0
It is possible that the two workbooks are open in separate sessions of Excel.
 
Upvote 0
It is possible that the two workbooks are open in separate sessions of Excel.

Running
Code:
Sub CloseExcel()
Application.Quit
End sub
should close both files, otherwise indeed you have this issue.

One way to avoid the problem is to open first workbook and from there use open menu and select the 2nd file
 
Last edited:
Upvote 0
Kamolga and SpillerBD,
Thanks for the replies, and apologies for not replyingearlier but the email alerts have stopped working!
Yes – bingo.
Problem was due to two separate instances of Excel beingopen.
Educated !
Regards and thanks both.

 
Upvote 0
Glad it works! Those little things that make no sense at first and can drive someone nuts....
 
Upvote 0

Forum statistics

Threads
1,223,714
Messages
6,174,051
Members
452,542
Latest member
Bricklin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top