I have recorded a macro in Word 2000 to set a bookmark at the cursor position. I have assigned a key to this macro. I have recorded another macro in Word to bring the cursor to the bookmark position and delete the bookmark. I have assigned another key to this macro. Is there some way to use one single key to toggle between these two macros? Thank you. T. ======================== Tony Roder, speaking his mind....
Hi Tony, Your macro can check if the bookmark exists, and handle the two cases: If ActiveDocument.Bookmarks.Exists("Test") = True Then ' jump to bookmark, delete bookmark ' (or Call the macro that does this already) Else ' create bookmark "Test" at cursor location ' (or Call the macro that does this already) Endif Regards, Klaus wrote: > I have recorded a macro in Word 2000 to set a bookmark at the cursor > position. > I have assigned a key to this macro. > I have recorded another macro in Word to bring the cursor to the > bookmark position and delete the bookmark. > I have assigned another key to this macro. > > Is there some way to use one single key to toggle between these two > macros? > > Thank you. > > T. > ======================== > Tony Roder, speaking his mind....