J
Jon
Greetings from sunny Sweden,
I have a macro that converts a SGML-style (custom formatted) plain text file
to a word document with proper formatting (headers, styles etc.) but I cannot
figure out how to convert the links. How can I use the macro to locate
"tagged" (hyper-)links and convert them to working hyperlinks?
This is how it looks like:
---
Some text here. Some more text.
Click here to view the PDF: <LINK>FileName.PDF</LINK>
Even more text.
---
I want the "tags" to be removed and the text FileName.PDF to remain, but as
a functional (clickable) link to the PDF file. I know that there is a
search-and-replace method that can extract substrings from strings (have used
it for style control) but can't make it happen with the link creation.
Any coding hints would be appreciated.
Thanks in advance!
Jon
I have a macro that converts a SGML-style (custom formatted) plain text file
to a word document with proper formatting (headers, styles etc.) but I cannot
figure out how to convert the links. How can I use the macro to locate
"tagged" (hyper-)links and convert them to working hyperlinks?
This is how it looks like:
---
Some text here. Some more text.
Click here to view the PDF: <LINK>FileName.PDF</LINK>
Even more text.
---
I want the "tags" to be removed and the text FileName.PDF to remain, but as
a functional (clickable) link to the PDF file. I know that there is a
search-and-replace method that can extract substrings from strings (have used
it for style control) but can't make it happen with the link creation.
Any coding hints would be appreciated.
Thanks in advance!
Jon