Macro to Turn Off Ruler, Grid, Guide, & Connection Points

L

Leslie

Does anyone have a macro that will hide the ruler, grid,
guides, connection points & close all stencils, or
anything like this? I'm sick of clicking the toolbar
buttons for this every time I open my colleagues' files.

The idea is to make it easy to view pages on the screen
without the extraneous development stuff showing.
 
M

Mark Nelson [MS]

Here's what I recorded:

Sub Macro1()

Application.ActiveWindow.ShowRulers = False

Application.ActiveWindow.ShowGrid = False

Application.ActiveWindow.ShowGuides = False

Application.ActiveWindow.ShowConnectPoints = False

End Sub
 
L

Leslie

Is there some way to make this macro be available to all
visio docs, not just the one I save it in?
 
L

Leslie

Thank you very much Mark for you assitance with Visio
macros.

One last question: did you actually record this macro?
How do you record a macro in Visio? I've recorded macros
in Word, but I can't find the recording function in Visio.
 
M

Mark Nelson [MS]

Go to Tools > Macro > Record New Macro.

Macro recording is a new feature in Visio 2003.
 

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