ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Deleting Rows (https://www.excelbanter.com/excel-programming/296858-deleting-rows.html)

matt_steer

Deleting Rows
 
I am trying to write a macro that will search in Column A for each cel
that contains a value ending in .01 (so i need wildcards) and the
delete the entire row.

Can anybody help

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


Don Guillett[_4_]

Deleting Rows
 
You don't need wildcards if it always ends with .01
if right(cell,3)=".01" then cell.entirerow.delete

--
Don Guillett
SalesAid Software

"matt_steer " wrote in message
...
I am trying to write a macro that will search in Column A for each cell
that contains a value ending in .01 (so i need wildcards) and then
delete the entire row.

Can anybody help?


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





All times are GMT +1. The time now is 01:16 AM.

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