Talk About Network

Google





Mac > Excel Office for Mac > VBA PrintArea s...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 8 Topic 5688 of 6965
Post > Topic >>

VBA PrintArea setting problem.

by Justin C <justin.0805@[EMAIL PROTECTED] > Jun 3, 2008 at 03:10 PM

Excel 2004

I'm trying to set the print area of a spreadsheet with VBA. I can get it
to make the selection, and what I've found for setting the print area
(not being to VBA aware) is: ActiveSheet.PageSetup.PrintArea = Selection
However, though this selects the range I want, the print area is still
the entire spreadsheet.

If I use Selection.PrintPreview I get just the selection, and can print
the selection I want from here, but I don't get access to the print
dialogue box, which I need to set certain printer options.

Any suggestions?

Is this question more suited to a different Excel group? If so, and you
can suggest one, I'd be grateful for the pointer.

Thank you for any help you can give.

	Justin

-- 
Justin C, by the sea.
 




 8 Posts in Topic:
VBA PrintArea setting problem.
Justin C <justin.0805@  2008-06-03 15:10:08 
Re: VBA PrintArea setting problem.
Bob Greenblatt <bob@[E  2008-06-03 11:39:29 
Re: VBA PrintArea setting problem.
Justin C <justin.0805@  2008-06-04 07:58:59 
Re: VBA PrintArea setting problem.
Justin C <justin.0805@  2008-06-04 13:13:36 
Re: VBA PrintArea setting problem.
Bob Greenblatt <bob@[E  2008-06-04 10:28:21 
Re: VBA PrintArea setting problem.
Justin C <justin.0805@  2008-06-06 08:21:54 
Re: VBA PrintArea setting problem.
Bob Greenblatt <bob@[E  2008-06-06 07:50:41 
Re: VBA PrintArea setting problem.
Justin C <justin.0805@  2008-06-10 15:56:43 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 1:25:53 PST 2009.