Thread
: [Solved]
Macro Delete Selected Text
View Single Post
11-05-2011, 02:12 AM
macropod
Windows 7 64bit
Office 2010 32bit
Administrator
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
You don't need to select/highlight the bookmarked text to work with it. Try something along the lines of:
Code:
Sub Demo() ActiveDocument.Bookmarks("BkMk").Range.Delete End Sub
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
macropod
View Public Profile
Find all posts by macropod