PC Review


Reply
Thread Tools Rate Thread

Automatic Serialization and print

 
 
Adrian Paul
Guest
Posts: n/a
 
      23rd Oct 2007
I am looking for a piece of code that would print a sheet,

automatically increment a number in a specific field,
Print
Increment number by 1
Print

And so on, for a specified number of sheets.

I am generating a series of test data sheets and would like to automate the
serialization part for the user.

Any help would be greatly appreciated.

Thanks.
 
Reply With Quote
 
 
 
 
Jerry K
Guest
Posts: n/a
 
      23rd Oct 2007
Probably the best way to start is to record a macro to print to the correct
printer and then edit the macro to increment the cell. I have the following
line in a macro to print 30 customized schedules. But, it prints to the
currently selected printer (probably not the best option in a multi-printer
environment).

ActiveWindow.SelectedSheets.PrintOut Copies:=1

Your code to increment the cell would look something like

Range("A1") = Range("A1") + 1

Jerry K

"Adrian Paul" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I am looking for a piece of code that would print a sheet,
>
> automatically increment a number in a specific field,
> Print
> Increment number by 1
> Print
>
> And so on, for a specified number of sheets.
>
> I am generating a series of test data sheets and would like to automate
> the
> serialization part for the user.
>
> Any help would be greatly appreciated.
>
> Thanks.



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Recursive XML serialization? XML serialization of cyclic objects? =?ISO-8859-1?Q?=22Andr=E9s_G=2E_Aragoneses_=5B_kno Microsoft C# .NET 2 16th Jan 2007 03:52 PM
"Print Selection" doesn't print beyond automatic page breaks =?Utf-8?B?QW5kcmU=?= Microsoft Excel Misc 3 30th Oct 2006 09:30 PM
Automatic Print bxf1019@gmail.com Microsoft Outlook Discussion 0 12th Sep 2006 07:50 PM
Serialization and de-serialization of types loaded from assembly at runtime mookid8000@gmail.com Microsoft C# .NET 6 1st Mar 2006 09:27 AM
Automatic Print =?Utf-8?B?SmFjb2JfRl9Sb2Vja2Vy?= Microsoft Word Document Management 3 11th Sep 2005 11:53 PM


Features
 

Advertising
 

Newsgroups
 


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