setting up print option
Microsoft Office Training verified by visa - mastercard securecode about microsoft training company london ukadd this page to your favourites/bookmarksAdd to favourites
view a printable version of this pagePrintable version
email this page to somebodyEmail this page
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and Help » Setting up a print option in VB

Setting up a print option in VB

The UK's most regular instructor-led training courses.
Training information: excel one day course london · Excel training course · VBA training in London

resolvedResolved · Low Priority · Version 2003

Setting up a print option in VB

Karen has attended:
Excel VBA course

by - delegate Karen [2 posts] (2008 Jun 20 Fri, 15:57) replyReply

How can you set a print option in VB?

Thanks

Excel Advanced 1 day course
Version Date Location Places
available
Book Next place rate:
Card Invoice
2007 2008 Nov 27 Thu Bloomsbury 4 book now £240 £245
2003 2008 Nov 28 Fri Southwark 1 book now £235 £240
2003 2008 Dec 3 Wed Bloomsbury 2 book now £235 £240
2003 2008 Dec 5 Fri Bayswater 6 book now £195 £205
2002/XP 2008 Dec 10 Wed Tooting 0 FULL    
2003 2008 Dec 10 Wed Bloomsbury 0 FULL    
Full Schedule: See all 98 Excel Advanced course dates.
Bookings currently available until 24th November 2009.

RE: Setting up a print option in VB

by - trainer Stephen gold contributer[369 posts] (2008 Jun 23 Mon, 14:18) replyReply

Hi Karen

Thank you for your question

You can do this using the printout method of the active window object. You first need to write the code to select the sheet that you want printing and then use the following line of code

ActiveWindow.SelectedSheets.PrintOut Copies:=1

I suggest that you look up the printout method in the object browser to get a full understanding of its parameters

Regards

Stephen


Related articles

· Compare Different MS Excel Training Methods
· Interesting Lifestyle Applications for Microsoft Excel
· Take the Anxiety out of Domestic Finances with Microsoft Excel
· Tips for Transitioning to Excel 2007
· How Small Businesses Profit from Outside Excel Training

Please browse our web site to find out more about
excel one day course london and other Microsoft training courses.

Excel tip:

Highlighting a data range

Attempting to use a mouse to highlight a large range of cells with data in Excel can make the mouse to have a life of it's own!

Use keyboard strokes instead.

Step 1. Place the cusor in the cell where the highlighting should begin.

Step 2. Select keystroke, CTRL+SHIFT+END

This will take the cursor to the furthermost bottom corner of the data range found in that worksheet. And highlight that range of cells at the same time




View all Excel hints and tips

Institute of IT Training - Accredited Training Provider Microsoft Certified Partner
microsoft office
Microsoft Office Specialist Authorised Testing Centre (MOS and MCAS)

Prodigy Platinum Learning Partner

Institute of IT Training - Accredited Training Provider Association of Computer Trainers Valid HTML 4.01 Transitional
Valid CSS Markup

secure online payments - visa - mastercard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Training by application Main information pages See also

Access courses
DreamWeaver courses
Excel courses
MS Project courses
Outlook courses
PowerPoint courses
VBA courses
Word courses
(more...)

Public scheduled courses
On-site training
Closed company courses

Microsoft Office training
Pricing and availability
Training schedule
Training venues

Access training
Dreamweaver training
Excel training
MS Project training
PowerPoint training

London Computer Training
Computer Training London

Microsoft Access training
Microsoft Excel training
Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training

Time Management Course London

Interested in Access training? Please see the following pages:
microsoft access courses · microsoft training access course
microsoft+access+training · access courses in london

Training Information

Training Articles

AddThis Social Bookmark Button What's this?
Add to Del.icio.us Add to Facebook Add to Digg Add to Reddit Add to Google Add to Yahoo Add to Diigo Add to Mr. Wong Add to Linkarena Add to Power Oldie Add to Folkd Add to Jumptags Add to Upchuckr Add to Simpy Add to StumbleUpon Add to Slashdot Add to Netscape Add to Furl Add to Spurl Add to Blinklist Add to Blogmarks Add to Technorati Add to Newsvine Add to Blinkbits Add to Ma.Gnolia Add to Smarking Add to Netvouz