F
FuriousCanis
Hi All
I'm using the following vba to remove a bookmark and paragraph
WordDocOnlMemAcc.Bookmarks("Line1").Select
WordDocOnlMemAcc.Bookmarks("line1").Range.Paragraphs(1).Range.Delete
WordDocOnlMemAcc is the object representing the document in use.
If i run the code normally the bookmark is deleted, if i step through
the code the paragraph gets deleted as i wanted. Any ideas what the
problem/solution is?
cheers
Keith
I'm using the following vba to remove a bookmark and paragraph
WordDocOnlMemAcc.Bookmarks("Line1").Select
WordDocOnlMemAcc.Bookmarks("line1").Range.Paragraphs(1).Range.Delete
WordDocOnlMemAcc is the object representing the document in use.
If i run the code normally the bookmark is deleted, if i step through
the code the paragraph gets deleted as i wanted. Any ideas what the
problem/solution is?
cheers
Keith