4 Replies Latest reply: Aug 24, 2010 10:19 AM by Michael Solomovich RSS

    Excel page setup by macro

    Michael Solomovich

      I need to set the page orientation in Excel printout to Landscape from QV macro. Tried ActiveSheet.PageSetup.Orientation=xLandscape - it doesn't work. The error is in PageSetup.Orientation, apparently QV vbscript doesn't like the Orientation part.
      Anyone knows what can be used instead?

      Thank you.