|
|
 |
| Excel VBA Discuss using VBA for Excel programming. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Excel VBA section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
 |

September 12th, 2003, 11:05 AM
|
|
Registered User
|
|
Join Date: Aug 2003
Location: Bournemouth, , United Kingdom.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Word VBA
Is there any way of using VBA to perform the "break link" function. I have tried recording a macro then performing the function, however nothing is recorded!
Any help would be gratefully received
|

September 15th, 2003, 08:14 PM
|
|
Registered User
|
|
Join Date: Aug 2003
Location: Perth, WA, Australia.
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
if you just want to find & remove links try 'Find Links' at
http://www.bmsltd.co.uk/mvp/
Kieran
|

September 21st, 2003, 10:38 AM
|
|
Registered User
|
|
Join Date: Aug 2003
Location: Bournemouth, , United Kingdom.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks, I will give that a go.
|

September 21st, 2003, 10:46 AM
|
|
Registered User
|
|
Join Date: Aug 2003
Location: Bournemouth, , United Kingdom.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Unfortunately, this is not what I am looking for. I am looking for the code in Word 2000 that will break a link in a Word doc.
|

December 3rd, 2003, 04:32 PM
|
|
Friend of Wrox
|
|
Join Date: Oct 2003
Location: , , Finland.
Posts: 164
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Try this code
Sub RemoveLinks()
Dim aField As Object
For Each aField In ActiveDocument.Fields
aField.LinkFormat.BreakLink
Next aField
End Sub
v-m
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |