Link two excel sheet and have an input box on start-up

mohsin002

New Member
Joined
Jan 15, 2014
Messages
6
Hi

So I have two excel sheets, one which contains a database (named Price References) and the other one which has the search function (Named Search). However, I would like to have the database in a separate workbook and like the search sheet to exist in a different workbook.

Now the problem is that the location of the Search workbook will be dynamic (and so will change) so I want it so that when the database sheet is accessed, it asks for the location of the search workbook, stores and links the formula from the Search workbook into the database workbook by entering the correct location.

Here is the formula in the database workbook that requires a reference from the search workbook.

=IF(ISNUMBER(SEARCH('Search'!$C$4,C16)),MAX($E$1,B15)+1,0)

The 'Search' in quotations is the current sheet that exists in the same workbook.

I'm okay with using VBA or whatever to get this done. Just need a start.

Thanks
Mohsin
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Forum statistics

Threads
1,223,910
Messages
6,175,318
Members
452,634
Latest member
cpostell

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