+ Reply to Thread
Results 1 to 3 of 3

Change the fixed column to user defined column with a variable in AddHyperlinks macro

  1. #1
    Registered User
    Join Date
    03-09-2011
    Location
    Minnesota, USA
    MS-Off Ver
    Excel 2016, O365
    Posts
    18

    Change the fixed column to user defined column with a variable in AddHyperlinks macro

    All,

    I found this code on this forum and was able to modify it to work in my situation.

    1) However I would like to change the fixed column "A" to be a user select column as I have hyperlinks in multiple columns that I would like to convert. One column at a time is fine.....as the columns keep changing.
    What I have tried so far is giving me an error in the LR = Range line.

    2) Also, the code was originally intended for cell text that didn't have a the Display Text at the end so although it still works, I get an error which I can ignore (End), but if there might be a way to delete the Display Text before running the macro, that would be great because I use Row 1 for the Display Text anyway.

    Examples of my Text from Column A:
    Row 1 Header:Link to Impact
    Row 2 Data: <a href="http://kb/ITO/Lists/IA/DispForm.aspx?ID=272">Link to Impact</a>
    Row 3 Data: <a href="http://kb/ITO/Lists/IA/DispForm.aspx?ID=309">http://kb/ITO/Lists/IA/DispForm.aspx?ID=309</a>


    Please Login or Register  to view this content.
    TIA,
    Don

  2. #2
    Registered User
    Join Date
    03-09-2011
    Location
    Minnesota, USA
    MS-Off Ver
    Excel 2016, O365
    Posts
    18

    Re: Change the fixed column to user defined column with a variable in AddHyperlinks macro

    Sorry, Probably should have posted this in the Excel Programming / VBA / Macros forum.....not sure how to correct without cross-posting....

  3. #3
    Registered User
    Join Date
    03-09-2011
    Location
    Minnesota, USA
    MS-Off Ver
    Excel 2016, O365
    Posts
    18

    Re: Change the fixed column to user defined column with a variable in AddHyperlinks macro

    With lots more searching I was able to find a resolution to the first issue, so will mark this Solved and repost in the correct forum with a new description to describe the remaining problem.

    Please Login or Register  to view this content.
    Last edited by ddander54; 09-28-2020 at 01:53 PM. Reason: SOLVED

+ 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. How to automatically apply fixed set of calculations to data of variable column and row nu
    By francisobrien2007 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-09-2015, 09:40 PM
  2. Excel macro - Saving file as a user defined variable
    By Rycher88 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-15-2011, 06:59 PM
  3. [SOLVED] Variable column to fixed array
    By asaylor in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-09-2006, 12:34 PM
  4. Offset from a variable column to a fixed column
    By Kurt Barr in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-27-2006, 12:50 PM
  5. [SOLVED] reference cell value from fixed column with variable row
    By bob z in forum Excel General
    Replies: 0
    Last Post: 05-24-2005, 06:32 AM
  6. [SOLVED] reference cell value from fixed column with variable row
    By bob z in forum Excel General
    Replies: 0
    Last Post: 05-24-2005, 06:31 AM
  7. Replies: 0
    Last Post: 05-23-2005, 07:06 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