Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default Oval-print location

You can't specify a print size but you can specify which cells to print.
The PrintArea property of the worksheet handles it.
In the following code change the range to the appropriate cells and assign
the Sub to the Oval or other object...

Sub OnlyPrintThis()
With ActiveSheet.PageSetup
.PrintArea = vbNullString
.PrintArea = Range("C5:G10").Address
ActiveSheet.PrintOut
.PrintArea = vbNullString
End With
End Sub
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware



"J Whelan"
wrote in message
Have a form w/several "bubbles" to fill in. Way to have an oval, radio
button, or similar, print to a specific location (ie 4.5 inches across, 2.75
inches down)
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
Always print to a specific location Tommy-B[_2_] Excel Discussion (Misc queries) 0 June 15th 07 06:29 PM
How To always print to a specific Location Tommy-B[_2_] Excel Discussion (Misc queries) 0 June 15th 07 06:27 PM
how can I display the file location (ie:C/mydocuments..)print medrvgc Excel Discussion (Misc queries) 2 May 20th 06 06:48 AM
Print Failure - Default File Location Lee Excel Programming 2 December 23rd 05 05:26 PM
print file path and location in a footer be New Users to Excel 2 June 15th 05 03:56 PM


All times are GMT +1. The time now is 12:37 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"