When this code is executed, no error notice is returned, but the word page content is not removed as intended. What am I overlooking?
With wDoc
.GoTo What:=wdGoToPage, Which:=wdGoToAbsolute, Name:="20" 'Page number
.Bookmarks("\Page").Select
With Selection
.Delete
End With
End With
I'd like to remove a certain page from the word document I've created and filled up using Excel VBA. I deleted using the following method: