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".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