Results 1 to 2 of 2

Macro Hyperlink issues

Threaded View

  1. #1
    Registered User
    Join Date
    10-13-2008
    Location
    Ireland
    Posts
    14

    Macro Hyperlink issues

    Hi all,

    I'm trying to set up hyperlinks within a cell using a macro. Essentially what I want to do is include a specific cell within the hyperlink. There is a simple example attached.

    In words this is what I would like to achieve:

    For all Cells in column B:

    If Corresponding A on row "Begins with H",

    Selection.Hyperlinks(1).Address = _
    "\\example\AAA\AAA\AAA\Contents of correspondingcell A.doc"
    Selection.Hyperlinks(1).TextToDisplay = "Contents of corresponding cell A"

    The same will apply to the remaining columns, only they will have a different hyperlink address. Essentially the hyperlink is formed using the contents of a cell within the workbook.

    Any suggestions??

    Thanks
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 08-11-2008, 09:21 AM
  2. Pause macro to enter value, continue macro
    By DamienC in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-28-2008, 09:01 AM
  3. Macro Error when File Name Changes
    By rme8223 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-17-2008, 06:18 PM
  4. Macro Through Hyperlink
    By Syed Haider Ali in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-17-2007, 02:36 PM
  5. country finder lookup macro
    By theghost in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-07-2007, 10:41 PM

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