How to make Cross-references plain text

K

Ken

I have a very large document that I have hundreds of cross-references entered
as links. I need to split the document up into chunks which may get separated
thereby breaking the links in the file.

Is there a way to replace the links with plain text, without having to enter
this manually. I am looking for someone who has a macro or knows how to do
this.

Please help, this is rather urgent.
 
D

Doug Robbins - Word MVP

Dim afield As Field
For Each afield In ActiveDocument.Fields
If afield.Type = wdFieldRef Then
afield.Unlink
End If
Next afield


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
K

Ken

Thank you, it worked!
--
Ken Smith


Doug Robbins - Word MVP said:
Dim afield As Field
For Each afield In ActiveDocument.Fields
If afield.Type = wdFieldRef Then
afield.Unlink
End If
Next afield


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top