Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deleting cells with a -0-

Status
Not open for further replies.

dignityy

Technical User
Oct 10, 2006
25
US
I have created a macro to copy/paste/and sort data from one sheet into another but I need to know how to write the VBA to look at the column that was just sorted and delete all Rows that have a zero in this column. Can someone please help.

Thanks
 



Hi,

Turn on the macro recorder.

AutoFilter - Criteria 0

Select rows to delete

Edit/Delete

Remove filter

check out VB code

Skip,

[glasses] [red][/red]
[tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top