User form - print Landscape

  • Thread starter Thread starter Priya Menan
  • Start date Start date
P

Priya Menan

how do i print my userform in landcape.
here is my code

Private Sub cmdPrint_Click()
With InputForm
..PageSetup.Orientation = xlLandscape
..PrintForm
End With
End Sub

I am getting an error saying "object required"

Thank you in advance..

Priya
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top