View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
[email protected] rhjaisingh@gmail.com is offline
external usenet poster
 
Posts: 3
Default Conditional Delete in Excel using Macro

Hello all,
Is it possible to creata an AUTO_OPEN such that all rows in the
spread-sheet which satisfy a certain criterir get deleted ? The data is
obviously dynamic. When I used the AUTO_OPEN and created a macro which
deleted the rows (I was manually doing the process and recording the
macro), if the data did not change, it worked fine. If I changed the
data, as in added or removed rows that fulfilled the criteria for
deletion, the thing went haywire - I realized - the deletion was
working only on a range and if the data changed, the range changed, and
this got messed up. Any help ?
Thanks much.