using a file name in a cell

k_babb

Board Regular
Joined
Mar 28, 2011
Messages
71
i was wondering if it was possible to use a cell for a filename

i have a report that i call off every month and i need some information in my current speadsheet so i would have a cell like='C:\Users\K.M.Babb\Desktop\lnvoices\[InvoiceEndSep.xlsx]New Text Document'!$A$2 is it possible to replace the invoiceendsep with a cell like a1 and then i could just change cell a1 next month to invoiceendOct and thus update the whole spreadsheet to look at Octobers values

thanks for any advice
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
You could use INDIRECT.EXT, which is part of the MOREFUNC add-in, but it does carry performace issues with a lot of formulas.

Or you can use Find & Replace to update the formulas. You can also use Edit-->Links and point the new month to the right place.

HTH,
 
Upvote 0

Forum statistics

Threads
1,224,568
Messages
6,179,572
Members
452,927
Latest member
whitfieldcraig

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