Hello,

So, I have a big macro in Word 2003 that I've been working on that keeps
growing. The end goal is to have a complete script to convert a Word
document into a wiki formatted document (for posting on our internal wiki).
I've got most of it down, but hitting a snag with changing hyperlinks into
wiki formatted text.

First, I need to find the hyperlinks, then I need to add wiki formatting in
front of them and after them, then delete the hyperlink itself.

To add to the issue, a significant number of my hyperlinks are tied to
shapes so when I delete all hyperlinks - it removes them completely, leaving
the shape but no address.

Can you please help?

Thank you,
Alison

Re: Adding Hyperlink Text, then deleting by Jezebel

Jezebel
Mon Dec 04 20:43:53 CST 2006

It would be easier if you posted exactly what you need to end up with,
particularly for the shapes. For the text links, you should be able to use
something like --

With myHyperlink
.Range = "[" & .Address & " " & .TextToDisplay & "]"
End with


"AlieSlavin" <AlieSlavin@discussions.microsoft.com> wrote in message
news:3170ECE9-D451-46BD-A315-F959BD95691C@microsoft.com...
> Hello,
>
> So, I have a big macro in Word 2003 that I've been working on that keeps
> growing. The end goal is to have a complete script to convert a Word
> document into a wiki formatted document (for posting on our internal
> wiki).
> I've got most of it down, but hitting a snag with changing hyperlinks into
> wiki formatted text.
>
> First, I need to find the hyperlinks, then I need to add wiki formatting
> in
> front of them and after them, then delete the hyperlink itself.
>
> To add to the issue, a significant number of my hyperlinks are tied to
> shapes so when I delete all hyperlinks - it removes them completely,
> leaving
> the shape but no address.
>
> Can you please help?
>
> Thank you,
> Alison