+ Reply to Thread
Results 1 to 5 of 5

Bulk change Format from text to Hyperlinks

  1. #1
    Registered User
    Join Date
    01-22-2022
    Location
    Wirral, UK
    MS-Off Ver
    16.56
    Posts
    4

    Question Bulk change Format from text to Hyperlinks

    I have extracted data from Power BI and one column consists of hyperlinks. On first opening the .xlsx file initially sees these as Text - only when they are individually clicked does it convert them to hyperlinks. Could VBA be used to bulk change all url entries in the column from plain text format to hyperlink. Thanks

  2. #2
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Bulk change Format from text to Hyperlinks

    It seems you can do it in power bi

    https://docs.microsoft.com/en-us/pow...inks-in-tables

    it could be done in excel but seems easier to do at source. Can you attach a sample workbook with a few lines illustrating your problem. there are instructions in the yellow banner

  3. #3
    Registered User
    Join Date
    01-22-2022
    Location
    Wirral, UK
    MS-Off Ver
    16.56
    Posts
    4

    Re: Bulk change Format from text to Hyperlinks

    Thanks Davsth - The field is formatted correctly as a active url in Power BI, but this formatting isn't included when exported out to Excel. .. Unfortunately I can't provide a sample as it contains sensitive data. As soon as i try to edit to anonymise sample urls to share them with the forum it then it auto-formats them as a URL.

    I just need to know how if you can use VB to convert URLs in a flat file data import from text to hyperlinks.

    Thanks again
    Last edited by grahamkida; 01-24-2022 at 10:39 AM.

  4. #4
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Bulk change Format from text to Hyperlinks

    You can use VBA to turn text into hyperlinks.

    Something like https://www.mrexcel.com/board/thread...th-vba.799915/

    would work if the values you are interested in are in column B

  5. #5
    Registered User
    Join Date
    01-22-2022
    Location
    Wirral, UK
    MS-Off Ver
    16.56
    Posts
    4

    Re: Bulk change Format from text to Hyperlinks

    That worked - thank you

    FYI here's the complete code I used (assumes text to convert to hyperlinks is in column S which contains a header row (s1))

    Please Login or Register  to view this content.

+ 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. Update hyperlinks by bulk in a worksheet
    By carlusha99 in forum Excel General
    Replies: 13
    Last Post: 11-01-2021, 06:26 PM
  2. Change text on cells with hyperlinks
    By jjward101 in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 04-10-2020, 03:52 PM
  3. [SOLVED] Create bulk relative hyperlinks
    By Adam10541 in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 06-27-2016, 09:15 AM
  4. Macro to save excel worksheets as pdfs and change hyperlinks to work in pdf format
    By crnadeau4 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-06-2013, 12:18 PM
  5. Replies: 3
    Last Post: 02-04-2013, 12:18 PM
  6. Creation of bulk Mailto hyperlinks
    By jay540 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-05-2009, 12:33 PM
  7. Removing hyperlinks in bulk
    By Terry Pinnell in forum Excel General
    Replies: 6
    Last Post: 10-26-2005, 07:05 AM

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