View Single Post
 
Old 03-17-2022, 05:16 PM
abrogard abrogard is offline Windows 10 Office 2019
Advanced Beginner
 
Join Date: Dec 2008
Posts: 54
abrogard is on a distinguished road
Default Is There A Macro For Change URLs to Links?

I have text documents which have many URLs in them.


I post those documents on my web pages. I paste them into html docs which I upload.


But of course those URLs are not links. The user cannot click on them and navigate away to that place.


All it would need, I think, is a macro that goes through a document and finds every 'https' for instance, parses the line to find the first space and uses that string as the URL and appends the code to make it Link.


I'm not sure, I think that's mainly just <a href:" " isn't it?


I'm thinking, hoping, such a macro or tool has been written and I can get a copy..




p.s. just took a look and it's not quite that simple is it? Many urls have spaces in them nowadays. Perhaps search for the first '/' ? I don't know. A bit beyond me. But anything would probably help. I have literally hundreds to do, true, hundreds...
Reply With Quote