Printing worksheet excluding rows with formulas
Show the code that determines the area to be printed and perhaps someone can
suggest something.
Otherwise
set rng = Range(Cells(rows.count,1).end(xlup), Range("M1"))
rng.printout
--
Regards,
Tom Ogilvy
"LennyG" wrote in message
...
My worksheet has data in columns A to M. Data has been entered up to
Row 35, but there are "If" formulas in column D which extend down to
Row 200. I have inserted a macro to select and print the area with
data,
which is up to Row 35. However, the print area selected by the macro
is A1:M200. Apparently this is happening because the "If"
formulas extend to Row 200.
I would be thankful for any help I can get in getting the macro to select
the required print range A1:M35
|