View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Don Guillett[_4_] Don Guillett[_4_] is offline
external usenet poster
 
Posts: 2,337
Default Is this possible?

Try using an input box to ask for the start date another input box to ask
for the stop date a for/each macro to delete the rows. Untested
x=inputbox("start date?")
y=inputbox("stop date?")
for each c in selection
if c<x and cy then c.entirerow.delete
next


--
Don Guillett
SalesAid Software

"Bardo" wrote in message
...
Delete all rows between two certain dates when asked? If the user was

asked
what dates, they entered 4/1990 to 5/2001, it would delete all row that

did
not meet this criteria?