I am trying to delete the text that has been inserted into a bookmark programatically.
I tried
With wordapp
.ActiveDocument.Bookmarks("FundContact"
.Select
.Selection.Text = " "
.ActiveDocument.Bookmarks("Official_Name"
.Select
.Selection.Text = " "
.ActiveDocument.Bookmarks("OffName"
.Select
.Selection.Text = " "
.ActiveDocument.Bookmarks("Fund_Address"
.Select
.Selection.Text = " "
.ActiveDocument.Bookmarks("Fund_City"
.Select
.Selection.Text = " "
.ActiveDocument.Bookmarks("Fund_State"
.Select
.Selection.Text = " "
.ActiveDocument.Bookmarks("Fund_Zip"
.Select
.Selection.Text = " "
End With
but that does not remove the inserted text
I tried
With wordapp
.ActiveDocument.Bookmarks("FundContact"
.Selection.Text = " "
.ActiveDocument.Bookmarks("Official_Name"
.Selection.Text = " "
.ActiveDocument.Bookmarks("OffName"
.Selection.Text = " "
.ActiveDocument.Bookmarks("Fund_Address"
.Selection.Text = " "
.ActiveDocument.Bookmarks("Fund_City"
.Selection.Text = " "
.ActiveDocument.Bookmarks("Fund_State"
.Selection.Text = " "
.ActiveDocument.Bookmarks("Fund_Zip"
.Selection.Text = " "
End With
but that does not remove the inserted text