LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default Hyperlink in Access

This is my container form in MS Access to track down import
containers. I would like to get "Website" box to be automaticly
hyperlinked whenever I put Vessel line in "Container line" space. Is
it doable?

Website part is hyperlinked, if I go maually I can link website but I
would like to make it more automated.

I am getting Debug msg for this line:

Forms!Container_details![Website].SetFocus

Thanks for you time.
================================================== =================

Private Sub Containerline_AfterUpdate()
Dim strName As String

strName = Forms!Container_details![ContainerLine].Value
strName = UCase(strName)
Forms!Container_details![ContainerLine].Value = strName

Select Case (strName)
Case "Maersk":
Forms!Container_details![Website].Value = "www.maersk.com"
Case Else:
Forms!Container_details![Website] = ""
Forms!Container_details![Website].SetFocus

End Select
End Sub

 
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
How do I import hyperlink data from Access into Excel? Dennis Excel Discussion (Misc queries) 0 February 23rd 06 03:29 PM
Access Form In An Access Report (SubForm) Question Gary Links and Linking in Excel 0 January 27th 06 05:54 AM
Excel Hyperlink to specific Access object Karla V Excel Discussion (Misc queries) 0 July 1st 05 02:35 PM
Importing Data from an Access Database Including a Hyperlink Colum B.C.Lioness Excel Discussion (Misc queries) 0 May 16th 05 05:26 PM
Importing Access File with Hyperlink B.C.Lioness Excel Discussion (Misc queries) 0 April 29th 05 10:13 PM


All times are GMT +1. The time now is 04:04 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"