Dim aPage As Visio.Page For Each aPage In ActiveDocument.Pages aPage.SetTheme 35 aPage.SetThemeVariant 2, 2 Next aPage