Thread: [Solved] Delete Range After Bookmark?
View Single Post
 
Old 04-04-2013, 11:12 AM
VBA_Elfe VBA_Elfe is offline Windows 7 64bit Office 2010 64bit
Novice
 
Join Date: Apr 2013
Posts: 2
VBA_Elfe is on a distinguished road
Default Delete Range After Bookmark?

Hey guys,

quick question:

I've written an VBA Code to get some input from Excel into a Word File. I used to following code:

wdDoc.Bookmarks("Note").Range.InsertAfter Range("Note")

So, that works out fine. But at the second time of opening the Word file, the input is written down for a second time (OFC).

I couldn't find a code to delete the last input after the bookmark... is that possible?

Regards,
Elfe
Reply With Quote