Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default HyperLinks active in a FormControl

Is it possible for a hyperlink to be active in a form control ?

I have a situation where a user enters a file path and name (the hyperlink)
into a textbox, which is subsequently recorded in a sheet cell for
reference.

If this record is reload, I would like the hyperlink to be active and when
double-clicked activate the link and open the document, which might be
another Excel Workbook, Powerpoint Presentation, Word Document of HTML file

Cheers
Nigel




----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! 100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 79
Default HyperLinks active in a FormControl

Nigel,

Just have a label on the form, change the label text to match the hyperlink
address, and in the labels click event, uses the hyperlinks collection. When
you initialise the form, change the caption on the lable.

e.g. When the label is clicked on one of my forms, it looks up an address
held in one of its own sheets, and follows it. You can set the font to blue,
underscore to on in the font formatting for the label to make it look like a
normal web address.

Private Sub lblLink_Click()
ThisWorkbook.Sheets("Version").Range("EDHome").Hyp erlinks(1).Follow
NewWindow:=False, AddHistory:=True
End Sub

Robin Hammond
www.enhanceddatasystems.com
Check out our XspandXL add-in


"Nigel" wrote in message
...
Is it possible for a hyperlink to be active in a form control ?

I have a situation where a user enters a file path and name (the

hyperlink)
into a textbox, which is subsequently recorded in a sheet cell for
reference.

If this record is reload, I would like the hyperlink to be active and when
double-clicked activate the link and open the document, which might be
another Excel Workbook, Powerpoint Presentation, Word Document of HTML

file

Cheers
Nigel




----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet

News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! 100,000

Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption

=---


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Row select mode to highlight active row of active cell Bart Fay[_2_] Excel Discussion (Misc queries) 0 May 11th 10 09:34 PM
How can I make multiple hyperlinks active at one time? lboti Excel Discussion (Misc queries) 2 September 16th 08 12:39 PM
Difficulty placing active email / hyperlinks with normal text in c RPD Excel Discussion (Misc queries) 2 March 21st 07 07:05 PM
Making Hyperlinks Active In Entire Column JXD New Users to Excel 2 January 18th 06 11:28 PM
HOW TO COPY 480 ACTIVE E-MAIL ADDRESSES CLM "G" ON AN ACTIVE EXCE. ragman10 Excel Discussion (Misc queries) 1 December 13th 04 11:52 PM


All times are GMT +1. The time now is 02:59 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"