Group:  Microsoft Excel ยป microsoft.public.excel.misc
Thread: Automated printing

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Automated printing
Newbeetle 23.09.2006 21:19:01
I have workbook with ten tabs, I would like to link check boxes on the first
page to printing. Is it possible to set a macro linked to a button to look at
the check boxes, then only print tabs for which the check boxes relate to.
RE: Automated printing
paul 23.09.2006 22:26:01
Sheets("Cover").Select
Application.Dialogs(xlDialogPrint).Show
'Sheets("Cover").PrintOut Copies:=1
Sheets("Frame").Select
If Range("L51") > 0 Then
ActiveWindow.SelectedSheets.PrintOut Copies:=1
End If
Sheets("Truss").Select
If Range("H18") > 0 Then
ActiveWindow.SelectedSheets.PrintOut Copies:=1
Sheets("Truss Materials").Select
ActiveWindow.SelectedSheets.PrintOut Copies:=1
End If
this is part of a mcro i recorded and modified to print only te tabs i have
used and so need to print out
Hope it helps
--
paul
paul.shepherd[ at ]nospamparadise.net.nz
remove nospam for email addy!



"Newbeetle" wrote:

[Quoted Text]
> I have workbook with ten tabs, I would like to link check boxes on the first
> page to printing. Is it possible to set a macro linked to a button to look at
> the check boxes, then only print tabs for which the check boxes relate to.
RE: Automated printing
Newbeetle 24.09.2006 08:27:02
Thank you its perfect

"paul" wrote:

[Quoted Text]
> Sheets("Cover").Select
> Application.Dialogs(xlDialogPrint).Show
> 'Sheets("Cover").PrintOut Copies:=1
> Sheets("Frame").Select
> If Range("L51") > 0 Then
> ActiveWindow.SelectedSheets.PrintOut Copies:=1
> End If
> Sheets("Truss").Select
> If Range("H18") > 0 Then
> ActiveWindow.SelectedSheets.PrintOut Copies:=1
> Sheets("Truss Materials").Select
> ActiveWindow.SelectedSheets.PrintOut Copies:=1
> End If
> this is part of a mcro i recorded and modified to print only te tabs i have
> used and so need to print out
> Hope it helps
> --
> paul
> paul.shepherd[ at ]nospamparadise.net.nz
> remove nospam for email addy!
>
>
>
> "Newbeetle" wrote:
>
> > I have workbook with ten tabs, I would like to link check boxes on the first
> > page to printing. Is it possible to set a macro linked to a button to look at
> > the check boxes, then only print tabs for which the check boxes relate to.

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net