VBA User form flie link

Endeavouring

Board Regular
Joined
Jun 30, 2010
Messages
115
Hi
Is it possible to create a link within a user form to a specific worksheet in another workbook, checking that the workbook isn't already open. If it is then opening the link and if not open the workbook at the relevant sheet.
The workbook I wish to open is named history.xls and a typical sheet would be named "data 2000".

Many thanks for any assistance as I'm fairly much a newbie.
 

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.
Is it possible to create a link within a user form...
A hyperlink, no, but you can add code under a command button, for instance, to fetch data from that workbook. There are numerous ways to activate it, but you're going to have to tell us more about the userform.

Can you be a bit more specific about the data you want to retrieve?

(Remember, vague questions get vague answers.)
 
Upvote 0
For reference, it is possible to do a hyperlink.
I wasn't after a hyperlink, I just wanted to open a specific file at a specific sheet (now solved)

Thanks for your response though
 
Upvote 0

Forum statistics

Threads
1,224,606
Messages
6,179,866
Members
452,948
Latest member
UsmanAli786

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