ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Deleting rows using key data (https://www.excelbanter.com/excel-programming/309734-deleting-rows-using-key-data.html)

shylu

Deleting rows using key data
 
I have 2 worksheets, Sheet 1 and Sheet 2.Sheet 1 comprise of n rows an
10 columns including a column name called UserID.Sheet 2 has only on
column called UserID. Now the task is I want to read userid from shee
2 and delete those rows in Sheet 1 which contain the userids read fro
sheet2. Can anyone help me to write a macro for this

--
Message posted from http://www.ExcelForum.com


zantor[_33_]

Deleting rows using key data
 
Hi shylu

The attached file (Deleterows.xls) should help you.

regards
Zanto

Attachment filename: deleterows.xls
Download attachment: http://www.excelforum.com/attachment.php?postid=69211
--
Message posted from http://www.ExcelForum.com



All times are GMT +1. The time now is 05:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com