Results 1 to 2 of 2
  1. #1
    DMT Dave is online now VIP
    Windows 10 Access 2016
    Join Date
    May 2018
    Posts
    1,192

    Hyperlink

    Hi Guy's, i am trying to have a website as hyperlink when it goes onto a mail body



    Question 1, when I Dim as Hyperlink, there are about 5 Hyperlink options that appear and about 2 Hyperlinks

    When I have done the following, it says Object or Variable not set, how can I do this ?

    Code:
    Dim myWeb As Hyperlink
    myWeb = "www.website.com"
    
    Body =
    "Thank you for visiting" & " " & myWeb (MyWeb should be hyperlink to website)


  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,921
    Declaring as a Hyperlink object is not pertinent.
    You are using Outlook automation?
    Review https://www.accessforums.net/showthread.php?t=67240
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. VBA hyperlink
    By Homegrownandy in forum Programming
    Replies: 3
    Last Post: 11-02-2016, 09:44 AM
  2. Hyperlink
    By sahand in forum Forms
    Replies: 2
    Last Post: 04-21-2014, 04:33 AM
  3. Replies: 4
    Last Post: 01-05-2013, 11:07 AM
  4. help with hyperlink
    By bmd in forum Access
    Replies: 1
    Last Post: 08-24-2011, 12:41 PM
  5. Replies: 4
    Last Post: 01-31-2011, 03:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums