Well, I did some hunting and didn't find anything automatic. If you find an automatic way, please post! I am using the following macros, in a custom stencil per this, to fix up new pages after creating them. Change the 1
, 0.625
, 0.4
values to whatever margins you like (in inches, at least on a US installation of Visio and Windows).
Public Sub MarginsPortrait() Application.ShowChanges = False With ActivePage.PageSheet .Cells("PageTopMargin") = 1 .Cells("PageLeftMargin") = 1 .Cells("PageRightMargin") = 0.625 .Cells("PageBottomMargin") = 0.4 End With Application.ShowChanges = True End Sub Public Sub MarginsLandscape() Application.ShowChanges = False With ActivePage.PageSheet .Cells("PageRightMargin") = 1 .Cells("PageTopMargin") = 1 .Cells("PageBottomMargin") = 0.625 .Cells("PageLeftMargin") = 0.4 End With Application.ShowChanges = True End Sub