C
CompleteNewb
Hi All.
I'm at the end of a long series of experimentation and getting excellent
from you fine folks, and in my task of html-ifying all the text in a Word
document (turning bold, italics, line breaks, etc. into the HTML code so
that the Word document is web-ready html text), the last step is making the
hyperlinks web-ready.
So, wherever there is a hyperlink in the Word text, I need to replace it
with the HTML for a hyperlink.
Example, Word shows:
To see for yourself, click here.
In the above, the words "click here" are blue, and floating the mouse over
them shows that the hyperlink is http://www.example.com
My macro needs to turn that into:
To see for yourself, <a href="http://www.example.com">click here</a>.
The hyperlinks could be to anywhere, and the text that is hyperlinked could
be anything, and the document is hundreds of pages long.
Is there a way to automate this? I have had a very hard time finding out
how to do this.
Any help, advice, code snippets, etc. would be GREATLY appreciated. Thanks
for taking the time.
I'm at the end of a long series of experimentation and getting excellent
from you fine folks, and in my task of html-ifying all the text in a Word
document (turning bold, italics, line breaks, etc. into the HTML code so
that the Word document is web-ready html text), the last step is making the
hyperlinks web-ready.
So, wherever there is a hyperlink in the Word text, I need to replace it
with the HTML for a hyperlink.
Example, Word shows:
To see for yourself, click here.
In the above, the words "click here" are blue, and floating the mouse over
them shows that the hyperlink is http://www.example.com
My macro needs to turn that into:
To see for yourself, <a href="http://www.example.com">click here</a>.
The hyperlinks could be to anywhere, and the text that is hyperlinked could
be anything, and the document is hundreds of pages long.
Is there a way to automate this? I have had a very hard time finding out
how to do this.
Any help, advice, code snippets, etc. would be GREATLY appreciated. Thanks
for taking the time.