LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Please help with inserting hyperlink

Hi there,
I have a form with many data entry fields and there is a button "Lin
To File" which is supposed to open the insert hyperlink pop up box
When I select the file I want, the address of the file is supposed t
appear in a textbox "txtLinkToFile" and clicking the OK button, th
hyperlinked file name without the complete address has to appear in th
cell.

All that I managed to do is open the pop up box. If someone could hel
out, that would be great.

Below is just a part of the code that I am using.

Thanks all.


Code
-------------------

Private Sub UserForm_Initialize()
'...
'...
txtLinkToFile.Value = ""
End Sub

Private Sub cmdSave_Click()
With Cells(Rows.Count, 1).End(xlUp).Offset(1, 0)
'...
'...
.Offset(0, 51) = txtLinkProjectList.Value
End With
End Sub

Private Sub cmdLinkToFile_Click()
'Open hyperlink pop up box
Application.Dialogs(xlDialogInsertHyperlink).Show
End Sub

-------------------


Thanks

--
Message posted from http://www.ExcelForum.com

 
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
inserting hyperlink chuckie Excel Worksheet Functions 1 February 19th 10 08:50 PM
Inserting a Hyperlink Bookmdano Excel Discussion (Misc queries) 1 January 24th 08 03:32 PM
Hyperlink to another row broken if inserting new row between, Help KJM Excel Discussion (Misc queries) 1 September 15th 05 07:15 PM
Need help with inserting hyperlink into worksheet from a form ryssa[_6_] Excel Programming 0 June 30th 04 06:15 AM
Inserting Hyperlink from a Query Jeffrey[_4_] Excel Programming 0 July 23rd 03 05:09 PM


All times are GMT +1. The time now is 07:02 PM.

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"