![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Posts: 32
|
I have several worksheets that info sends to the last worksheet for payroll...certain rows from certain worksheets go into this last worksheet....how can I print just the rows that have information on them....is that possible???
Thank you, Capt. P |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Monterrey, Mexico
Posts: 1,433
|
You can hide the blank rows and then print. Select the data and use the following code:
Selection.SpecialCells(xlCellTypeBlanks).EntireRow.Hidden = True I hope this helps. Kind regards, Al. |
|
|
|
|
|
#3 |
|
Guest
Posts: n/a
|
Another way is to use Autofilter (non-blanks).
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|