Hi
Just wondering if there is a different way to ‘toggle’ between landscape and portrait orientation? I have done as follows but feel that there must be a better/simpler way of doing it. Any comments?
Function switchOrientation(curOrientation As Variant) As Variant If curOrientation = wdOrientLandscape Then switchOrientation = wdOrientPortrait Else switchOrientation = wdOrientLandscape End If End Function in the code toggledOrientation= switchOrientation(Selection.PageSetup.Orientation) … …(