Add Button to Start Hyperlink Wizard in Cell

stvlange

New Member
Joined
Aug 18, 2011
Messages
2
Hey All,

I'm putting together a form in excel and have an area where I want to add a button say in Cell A1 that when clicked will start the Hyperlink Wizard with it looking at the root of "G:\" and am having a hell of a time finding either macro code or the VBA code to do this.

Basically I had a second in this form where people are supposed to list critical files required for the process the form details. I'd like to give them an easy way to display these critical files with the full path to where they live.

Hyperlink seems like the perfect solution, but I need to drastically simplify the process for my users. Clicking a button is something I think they can do.

Any help is more than appreciated, I've had a hell of a time finding an answer to this. Thanks in advance.

-Steve
 

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.
Found an answer..

Sub HL_183()
Range("O183").Select
Application.Dialogs(xlDialogInsertHyperlink).Show
End Sub

Works like a charm. I'd like it to start the Lookin: at a specific drive but this is better than nothing.
 
Upvote 0

Forum statistics

Threads
1,224,585
Messages
6,179,704
Members
452,938
Latest member
babeneker

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