Macro to link to an external file

pboltonchina

Well-known Member
Joined
Apr 24, 2008
Messages
1,095
Hi,
I currently have a macro that searches an excel workbok for part numbers, returns all the results of the sheet names that contain that number to a single page, and then hyperlinks from that single results page to the all the sheets where the number was found. Would it be possible to run another macro that would search an external folder (on the same network drive) for a drawing that matches that part number and insert a hyperlink on the results page, maybe in the same row as the result, to that drawing. Bearing in mind that some drawings contain more than one sheet, i.e. 100100200.1, 100100200.2, in that case I would like to link ALL drawings.

I appreciate it's a tall order, and it's something I would LIKE to be able to do, I don't HAVE to do it, but I would be grateful of any help

Thanks for looking at my post

Kind Regards

Paul
<!-- / message --><!-- edit note -->
 

Some videos you may like

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Watch MrExcel Video

Forum statistics

Threads
1,122,668
Messages
5,597,463
Members
414,145
Latest member
lonnie451

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
Top