Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You can use this
Sub PrintMacro2() Dim cell As Range For Each cell In Sheets("Sheet2").Range("A2:A" & Rows.Count) _ .SpecialCells(xlCellTypeConstants) Worksheets("Sheet1").Range("C12").Value = cell.Value ActiveSheet.PrintPreview Next cell End Sub -- Regards Ron de Bruin http://www.rondebruin.nl wrote in message ups.com... Thanks, this works like a charm, now I need to find find a way to do it until it hits a blank cell; I think that will be a while loop, or maybe an if clause. Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
First page of Excel sheerepeats in print layout or print preview | Excel Discussion (Misc queries) | |||
Macro for Print Loop within Excel | Excel Programming | |||
Advancing outer Loop Based on criteria of inner loop | Excel Programming | |||
How do you Print with a loop? | Excel Programming | |||
Why does macro speed slow after Excel Print or Print Preview? | Excel Programming |