+ Reply to Thread
Results 1 to 4 of 4

Cell reference in VBA for hyperlink

  1. #1
    Registered User
    Join Date
    07-03-2014
    Location
    Johannesburg
    MS-Off Ver
    Office 2010
    Posts
    17

    Cell reference in VBA for hyperlink

    Hi all

    I have the below and was wondering how I can reference a cell (i.e. to pick up a name etc) so that the body of the email will read "Dear XXX" instead of just 'Dear". I also need to reference to another cell as well in the body to pull through some additional info. I'll have this code as a hyperlink at the end of each row so that it can use the names from the column list of names.

    Please Login or Register  to view this content.
    Assistance would be greatly appreciated.
    Last edited by jeffreybrown; 02-16-2018 at 10:25 PM. Reason: Please use code tags when posting code!

  2. #2
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,958

    Re: Cell reference in VBA for hyperlink

    Please Login or Register  to view this content.
    If [H5] is reference cell containing name to be used
    Last edited by Sintek; 02-17-2018 at 03:02 AM.
    Good Luck...
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the [★ Add Reputation] to left of post window...
    Also....Add a comment if you like!!!!
    And remember...Mark Thread as Solved...
    Excel Forum Rocks!!!

  3. #3
    Registered User
    Join Date
    07-03-2014
    Location
    Johannesburg
    MS-Off Ver
    Office 2010
    Posts
    17

    Re: Cell reference in VBA for hyperlink

    Great work, thanks very much

  4. #4
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,958

    Re: Cell reference in VBA for hyperlink

    Coolio...Please mark thread as solved...Top of post...Thread tools

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Hyperlink according cell reference
    By S1n1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-22-2016, 06:06 AM
  2. [SOLVED] Hyperlink to a cell containing a reference
    By taxboy2010 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-29-2015, 03:23 PM
  3. [SOLVED] Use cell value as reference in a hyperlink
    By LinaVa in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-17-2014, 06:26 AM
  4. Replies: 6
    Last Post: 11-30-2010, 04:40 AM
  5. hyperlink in reference cell
    By spata4ok in forum Excel General
    Replies: 5
    Last Post: 12-23-2009, 11:53 AM
  6. Can You Use A Cell Reference in a Hyperlink?
    By xfreez99 in forum Excel General
    Replies: 3
    Last Post: 07-29-2008, 12:23 PM
  7. [SOLVED] script to hyperlink and reference a cell value in the hyperlink
    By Natasha D. in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-17-2006, 02:43 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