How do i unlink all of the fields in an MS-Word 2007 document?

B

byafuso

I used to be able to do this in MS-Word 2003 by doing a "select all" and
pressing <ctrl>+<shift>+<F9>, but that doesn't seem to work any more. At
least it doesn't seem to get rid of hyperlinks to button pictures.

Am I doing something wrong, or was this feature disabled in MS-Word 2007?

Thanks
 
G

Graham Mayor

Ctrl+Shift+F9 still unlinks fields in Word 2007
Are you sure that you haven't got a keyboard with alternate switching for
the F keys?

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
P

Peter T. Daniels

Can "hyperlinks to button pictures" (whatever they are) be considered
"fields"?
 
G

Greg Maxey

Peter,

Hyperlinks are fields. Select and toggle field codes to see for yourself.
Can "hyperlinks to button pictures" (whatever they are) be considered
"fields"?

--
Greg Maxey

See my web site http://gregmaxey.mvps.org
for an eclectic collection of Word Tips.

"It is not the critic who counts, not the man who points out how the
strong man stumbles, or where the doer of deeds could have done them
better. The credit belongs to the man in the arena, whose face is
marred by dust and sweat and blood, who strives valiantly...who knows
the great enthusiasms, the great devotions, who spends himself in a
worthy cause, who at the best knows in the end the triumph of high
achievement, and who at the worst, if he fails, at least fails while
daring greatly, so that his place shall never be with those cold and
timid souls who have never known neither victory nor defeat." - TR
 
S

Suzanne S. Barnhill

I also am curious about "hyperlinks to button pictures." The first thing I
thought of was a MacroButton field with a picture as the prompt, but that's
not a hyperlink (though you can nest a hyperlink within the MacroButton
field as described at
http://word.mvps.org/FAQs/TblsFldsFms/HLinksInForms.htm).

Or perhaps the reference is to picture bullets? Or a button picture used as
the display text of a hyperlink? I guess that's the most likely. Unlinking
the field would leave the button displayed, but the hyperlink would no
longer work.

I'd be interested to see some clarification on this, though.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org
 
M

macropod

Hi byafuso,

Ctrl-A followed by Ctrl-Shift-F9 will only unlink fields in-line with text in the body of the document. It won't affect fields in
headers, footers, or floating shape objects (eg a hyperlink attached to an image formatted as 'square'). Here's a macro to do the
job for you:

Sub UnlinkAll()
Dim oRng As Range, hLink As Hyperlink
Application.ScreenUpdating = False
With ActiveDocument
' Loop through Story Ranges and update.
' Note that this may trigger interactive fields (eg ASK and FILLIN).
For Each oRng In .StoryRanges
Do
oRng.Fields.Unlink
For Each hLink In oRng.Hyperlinks
hLink.Delete
Next
Set oRng = oRng.NextStoryRange
Loop Until oRng Is Nothing
Next
End With
Application.ScreenUpdating = True
End Sub
 

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