Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a table with many rows. I place quantity in one column for few rows.
How can I have ONLY the rows with quantity printed? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hide the rows without quantity.
Use Autofilter: http://www.contextures.com/xlautofilter01.html -- Gary''s Student - gsnu200835 "STIG" wrote: I have a table with many rows. I place quantity in one column for few rows. How can I have ONLY the rows with quantity printed? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
supposing you have your quantities in column "A" (cells(cnt1,1)):
sub deletingrows() dim cnt1 as integer for cnt=1 to 100 'or put the number of rows if cells(cnt1,1)=empty then 'for column "B":cells(cnt1,2) or for "C": cells(cnt1,3) rows(cnt1).delete cnt1=cnt1-1 end if next end sub other way is doing it with the sort command (Data--Sort) . "STIG" wrote: I have a table with many rows. I place quantity in one column for few rows. How can I have ONLY the rows with quantity printed? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Special Print Instructions | Excel Worksheet Functions | |||
The Print # command print not all rows from excel sheet to file | Excel Programming | |||
Macro to hide rows with a certain cell empty then set print area and print | Excel Programming | |||
Print cell borders with special 'skin' | Excel Discussion (Misc queries) | |||
special type of rows to columns procedure | New Users to Excel |