I need help
I have a 5000 page document and I need to run a macro so that it searches for a value (eg - "32 entries per line") and if that value is found then THAT page that the entry is found is deleted and so on until the end of the document.
Can someone help me with the macro/vb code required?
I have this code but I need the search coding.
I have a 5000 page document and I need to run a macro so that it searches for a value (eg - "32 entries per line") and if that value is found then THAT page that the entry is found is deleted and so on until the end of the document.
Can someone help me with the macro/vb code required?
I have this code but I need the search coding.
Code:
Sub DeleteCurrPage()
'
' DeleteCurrPage Macro to delete the current page
'
ActiveDocument.Bookmarks("\Page").Range.Delete
End Sub