Macro that toggles

M

Mickey

Hi,
Does anyone know if it's possible to create a macro that will toggle on &
off. For example, click to turn view bookmarks on and then click to turn
them off. I did one for opening and closing the header that I put on a
toolbar but I can't find where it's saved!!!

Thanks,
Mickey
 
G

Graham Mayor

To toggle bookmarks

With ActiveWindow.View
.ShowBookmarks = Not .ShowBookmarks
End With


--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top