Results 1 to 3 of 3
  1. #1
    Star Lounger
    Join Date
    Aug 2001
    Location
    Can Jose, CA
    Posts
    55
    Thanks
    0
    Thanked 0 Times in 0 Posts

    VB code to open hyperlink (Access2k)

    Want code to open hyperlink after performing some other functions. I'm not using the command correctly because I'm getting a compile error. Cannot find examples of OpenHyperlink command, anyone have some?

    DoCmd.RunCommand acCmdOpenHyperlink ("http://wwwte.abc.com/cgi-bin/kbinfo/kbinfo_frame.run")

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: VB code to open hyperlink (Access2k)

    Use FollowHyperlink instead:

    Application.FollowHyperlink "http://wwwte.abc.com/cgi-bin/kbinfo/kbinfo_frame.run"

    You can't pass an argument to RunCommand other than the acCmd... constants.

  3. #3
    Star Lounger
    Join Date
    Aug 2001
    Location
    Can Jose, CA
    Posts
    55
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: VB code to open hyperlink (Access2k)

    That's the fix. Thanks for the help. <img src=/S/cool.gif border=0 alt=cool width=15 height=15>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •