LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Deleting unwanted rows

I have an interesting problem. I have one workbook with two sheets.
The first sheet contains columns A thru U, the about 1600 rows. It is
a list of employees and information about them pertaining to their
job, so, column K has a job code number, 4 digits. Sheet 2 is a list
of 'key' job codes, one column, 68 rows. What I'd like to do, maybe
with VBA is delete the entire row from the first sheet if it's job
code number from column K is not on the list from the second sheet.
So what remains is a list of employess that have those key jobs.

Any ideas?

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleting unwanted data Dono Excel Discussion (Misc queries) 2 September 29th 06 01:43 PM
Deleting unwanted and empty rows.... Jim New Users to Excel 3 July 5th 05 05:21 AM
Deleting unwanted and empty rows... Jim Excel Discussion (Misc queries) 2 July 4th 05 11:12 PM
Deleting unwanted Cells tranetp Excel Discussion (Misc queries) 3 June 21st 05 03:29 AM
Deleting Unwanted Files TEB2 Excel Programming 1 March 18th 05 06:02 PM


All times are GMT +1. The time now is 11:37 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"