Live Scores
Shareware
Movie Stars
Programming
Multimedia
Mobile
Database
Enterprise
in
Word
Office / Productivity
(Entire Site)
Questions and answers to issues related to Software: Business, Database, Firewalls, Office, Graphics, Security, System, Server.
»
Office / Productivity
»
Word Processors
»
Word
»
Word VBA: Delete bookmark text without deleting bookmark
Word VBA: Delete bookmark text without deleting bookmark
Using Word VBA, does anyone know how to delete bookmark text without deleting the bookmark itself?
I've tried the following code, but it deletes the entire bookmark and then won't re-create it:
With ThisDocument.Bookmarks
Set rngBk = .Item(BK).Range
.Item(BK).Range.Delete
.Add BK, rngBk
End With
Hmmmm. Any help gratefully received.
Solution: Word VBA: Delete bookmark text without deleting bookmark
PAQ'd, 125 points refunded.
CetusMOD
Community Support Moderator
Popular Tags
Tags:
2003
2007
document
error
excel
field
file
footer
header
insert
macro
mail
merge
Microsoft
Microsoft Word 2007
office
office 2007
open
page
print
remove
save
table
template
text
vba
word
Word 2003
Word 2007
Browse All Tags