Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Printing help
I have a userform named RPTFRM w/ a text box named rptDte and a Commad
button named cb1 this is what i have so far... Private Sub cb1_Click() Selection.AutoFilter Field:=5, Criteria1:=rptDte.Value VBAProject.ThisWorkbook.PrintPreview Selection.AutoFilter Unload Me End Sub Private Sub UserForm_Initialize() Range("Headers").Select Selection.AutoFilter End Sub When i step through the code it does what i want but locks up after print preview. I am trying to get only the information printed defined in the criteria text box. any help would be great. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel 2003 printing problem--printing 1 document on 2 pages | Excel Discussion (Misc queries) | |||
Excel Printing --Borders are not printing on the same page as data | Excel Discussion (Misc queries) | |||
Printing a heading on each new page when printing | Excel Discussion (Misc queries) | |||
Enable Double sided printing contiuously when printing multiple s. | Excel Discussion (Misc queries) | |||
Printing? Worksheets not printing the same on multiple pc's! | Excel Programming |