Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default printing number of copies

I have the following function in a worksheet, but of course it dosen't
work.
In one column there is a number for the number of copies, when I enter
a number it should print out that number of copies. Do I need to use
some sort of active sheet property? Why dosen't this work?

'used like so: =goPrint(C3, B3:B6)
Function goPrint(copies As Long, rng As Range) As String

Dim cell As Range
Dim c As CellFormat

For Each cell In rng

cell.Font.Size = 144
cell.PrintOut , , copies
cell.Font.Size = 10
Next
End Function

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
Number of copies to print keep defaulting to 12 copies why? Boski Excel Worksheet Functions 1 October 8th 09 05:33 PM
printing copies Val in Texas New Users to Excel 2 August 7th 08 05:47 PM
printing multiple copies Paul Excel Discussion (Misc queries) 1 November 6th 07 03:05 PM
Printing copies with changing number mrclinker Excel Discussion (Misc queries) 1 April 27th 06 09:40 PM
Printing defaults to more copies! Mari Excel Discussion (Misc queries) 1 July 7th 05 12:29 AM


All times are GMT +1. The time now is 09:57 PM.

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

About Us

"It's about Microsoft Excel"