Trying to create an indirect link, but I will not know the filename until later on.

dollada06

New Member
Joined
Oct 12, 2016
Messages
7
What I am working on is a template file for doing material takeoffs. I am trying to set it up so that it can reference another document and pull in data from that document. Basically all the values it is pulling in are set up as indirect links within an IF statement.

What I am hoping to do, and I am not sure if there is a better way, is have that IF statement reference a Boolean cell tied to a simple toggle button. So when I toggle it one the indirect links kick in. Obviously for that to work I need to know the file name though. Is there a way that it can be set up, preferably without VBA, so that when I toggle on that button a window will pop up so I can tell it what file to look in for those indirect links? The reason being I know the file it is looking at will always be set up the same, but the name will be different for each project we're doing.

If anyone has a better approach to this I am all ears as well. Thanks for any help!
 
Last edited:

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.

Forum statistics

Threads
1,214,788
Messages
6,121,603
Members
449,038
Latest member
Arbind kumar

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