i found code to set orientation paper in landscape/portrait.
the code not properly work
Code: Select all
Sub Landscape()
With ActiveDocument.PageSetup
.Orientation = wdOrientLandscape
.Orientation = wdOrientPortrait
End With
End Sub
using button (quick Acees Toolbar) with the above code i want to switch Landscape or Portrait
using only single button macro, if possible to do it?
sometimes i want to set switch landscape (with 1 click button), then 1 click button again to change in Portrait
maybe someone give assistance to figure out this case.
thank in advance
susanto