Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default User form - print Landscape

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

*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default User form - print Landscape

Jim Rech posted this:
http://groups.google.co.uk/group/mic...ecede71e783f53

or
http://snipurl.com/lasc

Priya Menan wrote:

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

*** Sent via Developersdex http://www.developersdex.com ***


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot get excel sheet to print landscape even when set landscape williedon Setting up and Configuration of Excel 1 August 2nd 06 12:18 AM
User Form Landscape mully Excel Discussion (Misc queries) 0 January 11th 06 05:10 PM
Print Excel Form In Landscape Mode? Jeffrey[_7_] Excel Programming 2 September 28th 04 11:17 PM
Printing a user form landscape Dave[_32_] Excel Programming 1 December 21st 03 03:51 PM
print a form landscape Dave[_32_] Excel Programming 0 December 17th 03 05:00 PM


All times are GMT +1. The time now is 01:58 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"