![]() |
#6
|
||||
|
||||
![]()
Without seeing your macro it is difficult to advise how to add to it. Basically you set a bookmark to the range that you have found as you add it to your log.
To go to the bookmark - let's assume you have added bookmarks bm1 to bm10 i.e a number following 'bm'. Then the following macro will prompt for a number and then select the numbered bookmark and delete the bookmark (but not its content). Code:
Sub GetBM() Dim sBM As String On Error GoTo lbl_Exit sBM = InputBox("Go to which bookmark number") With ActiveDocument.Bookmarks("bm" & sBM) .Range.Select .Delete End With lbl_Exit: Exit Sub End Sub
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
Tags |
editing |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
rich_cirillo | Word | 1 | 05-13-2014 07:10 PM |
Moving Quick Parts with the document | derohanes | Word | 4 | 10-23-2013 09:30 PM |
![]() |
PauledInAction | Word | 4 | 07-13-2012 02:38 PM |
![]() |
clpix | Word | 1 | 01-14-2010 08:55 PM |
problem moving text to blank document | carolanshaw | Word | 0 | 03-23-2009 08:45 PM |