That was helpful. Thank you so much. However, when I tried to open up a
website with the last part of the link changing, it doesn't work. This is
what I have tried:
Use Debug.Print to check that the link you are forming works correctly:
Dim strLink As String
strLink = "http://www.msn.com/" & Me.EmployeeID & ".php"
Debug.Print strLink
FollowHyperlink strLink
After running that code, open the Immediate Window (Ctrl+G), and copy the
link that was printed there into the address bar of your browser. Hopefully
that will help in the process of getting the string correct.
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Reply to group, rather than allenbrowne at mvps dot org.