Dear Shankar,

Please find attached the solution you want. Change the path of your file in
the code of the form.

I have used a hand shaped cursor file to give a look of a hyperlink to the
label. For this I used a cursor file which is also attached. If you are not
seeing the "hand-shape" while hovering over the label, select this *han**
d.cur* file as the Label's MouseIcon image.

Feel free to revert in case you need anything else.

Cheers!

AJ

On Sat, Mar 24, 2012 at 9:11 AM, Shankar Bheema <shankar.n...@gmail.com>wrote:

> good morning abhishek
>
> thank you for providing solution, is it possible to open the file without
> mentioning path in the label caption ?
>
>
> On Thu, Mar 22, 2012 at 10:03 PM, Abhishek Jain <abhishek....@gmail.com>wrote:
>
>> Assuming that you have placed full path of your file in the caption of
>> your label (label1 in this case) itself...
>>
>> *Private Sub Label1_Click()*
>> *Application.ThisWorkbook.FollowHyperlink Label1.Caption*
>> *End Sub*
>>
>> ...should work.
>>
>> HTH
>>
>>
>>
>> On Thu, Mar 22, 2012 at 4:17 PM, Shankar Bheema 
>> <shankar.n...@gmail.com>wrote:
>>
>>> Dear Experts
>>>
>>> If a pdf file name is placed on a Label form and assume its location is
>>> in D:/.  How it would be hyperlinked from the USerform.
>>>
>>> regards
>>> shankar sb
>>>
>>> --
>>> FORUM RULES (986+ members already BANNED for violation)
>>>
>>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>>> will not get quick attention or may not be answered.
>>>
>>> 2) Don't post a question in the thread of another member.
>>>
>>> 3) Don't post questions regarding breaking or bypassing any security
>>> measure.
>>>
>>> 4) Acknowledge the responses you receive, good or bad.
>>>
>>> 5) Cross-promotion of, or links to, forums competitive to this forum in
>>> signatures are prohibited.
>>>
>>> NOTE : Don't ever post personal or confidential data in a workbook.
>>> Forum owners and members are not responsible for any loss.
>>>
>>>
>>> ------------------------------------------------------------------------------------------------------
>>> To post to this group, send email to excel-macros@googlegroups.com
>>>
>>
>>
>

-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

------------------------------------------------------------------------------------------------------
To post to this group, send email to excel-macros@googlegroups.com

Attachment: HyperLink in U_Form.xlsm
Description: Binary data

Attachment: hand.cur
Description: Binary data

Reply via email to