+ Reply to Thread
Results 1 to 2 of 2

ActiveWorkbook.FollowHyperlink Question

Hybrid View

  1. #1
    Registered User
    Join Date
    07-30-2007
    Posts
    34

    ActiveWorkbook.FollowHyperlink Question

    Ok I am very new to VBA stuff

    I am trying to understand this stuff. if i want a macro to follow a hyperlink , i entered this

    Sub 1()
    ActiveWorkbook.FollowHyperlink

    Now when i do this i get the following string of options:

    FollowHyperlink(Address As String,

    What would be the string for hyperlinking to another xcell file on the desktop
    umrebelfan69@yahoo.com

  2. #2
    Forum Contributor SOS's Avatar
    Join Date
    01-26-2004
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel 2003
    Posts
    327
    umrebelfan69,

    This is the string needed for a file on your desktop. I had thought that adding "Application.DisplayAlerts = False" before and turning it to true afterwards would stop the error message about hyperlinks being harmful to your computer but it didn't and perhaps someone else here might be able to guide you in that respect

    Sub I()
    ActiveWorkbook.FollowHyperlink ("C:\Documents and Settings\username\Desktop\filename.xls")
    End Sub
    Hope this hepls

    Seamus

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1