elmnas
06-19-2017, 06:19 AM
I currently have a code that will delete a bookmark from a word document using the portion of my code displayed below:
For i = LBound(BookMarksToDelete) To UBound(BookMarksToDelete)
wdDoc.Bookmarks(BookMarksToDelete(i)).Delete
Next i
Based on the snippet above, I was curious to if there was a way for me to recreate this portion in order to delete the text at the bookmark, along with the paragraph underneath it (Word document is in the form Header followed by Paragraph starting on next line)
please help me out,
Thank you in advance
For i = LBound(BookMarksToDelete) To UBound(BookMarksToDelete)
wdDoc.Bookmarks(BookMarksToDelete(i)).Delete
Next i
Based on the snippet above, I was curious to if there was a way for me to recreate this portion in order to delete the text at the bookmark, along with the paragraph underneath it (Word document is in the form Header followed by Paragraph starting on next line)
please help me out,
Thank you in advance