Oh my, I'm not really sure what a macro is or how to use one. Is there a more simple way? It worked last year by itself, but for some reason it isnt now.
"Crowbar via OfficeKB.com" wrote:
[Quoted Text] > I think a macro is the way to go with this > > Function GetUsedArea > > Dim LastRow as Long > > LastRow = Sheet1.usedrange.row + sheet1.usedrange.rows.count -1 > > sheet1.printarea = "$a$1:$f$" & LastRow > > End Function > > Lindsay wrote: > >I have designed a document with 1200 lines that have been formatted. Some of > >the users will have only 20 lines, but some will have 1000. I would like them > >to be able to print only the pages that they have used, but I can only figure > >out how to make it print all 1200 lines or only 1 page. Thanks! > > -- > Anthony Prescott > http://www.apofficesolutions.co.uk> > Message posted via OfficeKB.com > http://www.officekb.com/Uwe/Forums.aspx/excel-new/200812/1> >
|