Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
ikovy ikovy is offline
external usenet poster
Posts: 6
Default Visual Basic for Word - Code for Footnotes

I have the visual basic code below, but I need it to work for footnotes. Any
help, thanks.

Sub ListHyperlinks()
Dim srcDoc As Document, destDoc As Document
Dim HL As Hyperlink

Set srcDoc = ActiveDocument
Set destDoc = Documents.Add

For Each HL In srcDoc.Hyperlinks
destDoc.Range.InsertAfter _
HL.TextToDisplay & vbTab & HL.Address & vbCr

End Sub
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Basic for Word - Code for Footnotes ikovy Microsoft Word Help 2 May 5th 10 11:58 PM
Word mailmerge - Visual Basic experts please help! Murray Muspratt-Rouse Mailmerge 29 October 7th 08 09:06 AM
Word Visual Basic ksawb Microsoft Word Help 1 November 5th 07 10:33 AM
Visual Basic through Word help 4a4i4163211 Microsoft Word Help 0 October 2nd 07 05:22 PM
Problem with Visual Basic A in Word PJay Microsoft Word Help 1 April 9th 07 11:47 AM

All times are GMT +1. The time now is 02:20 AM.

Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright 2004-2023 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.

About Us

"It's about Microsoft Word"