Referencing a destination closed workbook.

TTYF

New Member
Joined
Jan 16, 2023
Messages
6
Office Version
  1. 365
Platform
  1. Windows
Hello, how do you reference a closed workbook on a desktop without using C:\user\thomas\

I have a simple function here: =vlookup("*Project*",'C:\desktop\Checking_File\[abc.xlsx]sheet1'!A1:C5,2,0)

# When i applied the function, a popup will appear to ask for the referencing the right file. The output produced is correct.
# But the file referencing will always appear each time to ask for the file location.
# As i replace a new file and rename it abc.xlsx in the same location, the vlookup did not update - even as i clicked on fresh all data.

The referencing location seemed wrong.
tried this '.\desktop\Checking_File\[abc.xlsx]sheet1'!A1:C5 or [abc.xlsx]sheet1'!A1:C5 but they both dont work.

Any workable resolution on the file path referencing from desktop? and the function auto update all the time?

Many 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.

Forum statistics

Threads
1,215,232
Messages
6,123,763
Members
449,120
Latest member
Aa2

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