LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
macropod
 
Posts: n/a
Default Delete row by time/date?

Hi JP,

OK, running the macro is easy enough, but where is it going to get the
date/time criteria for deciding when to delete a 'complete' row - or do you
want it to simply go through the worksheet at a given time and delete every
'complete' row it finds?

If you don't have a date & time criterion, you'd need to have the macro run
at intervals of, say, every 5 minutes to delete 'complete' rows. But that
could lead to worksheet having unwanted 'complete' rows for up to 5 minutes
after it is first opened.

An alternative, which might work just as well for your purposes, if to have
an auto macro go through the worksheet every time the workbook is opened and
delete an 'complete' rows it finds. This will create much less overhead for
your system than a macro running of a timer.

Yet another possibility is a macro that looks in your status column and
automatically deletes any row you mark as complete immediately you hit the
enter key after typing 'complete'.

Cheers

"JPaterson" wrote in
message ...

macropod:

Thanks for the response. I'm guessing I'll need the clock macro. See,
my project would look like image one.

http://www.jpatworld.com/excela.jpg

See the project labeled "complete"? Say I don't remove the row
manually, for some reason or another. What I would want (the macro)
would delete the row for me automatically so that the sheet would look
like:

http://www.jpatworld.com/excelb.jpg

It would remove row five and cause row six to become five.

You think a clock macro would accomplish this?


--
JPaterson
------------------------------------------------------------------------
JPaterson's Profile:

http://www.excelforum.com/member.php...o&userid=33967
View this thread: http://www.excelforum.com/showthread...hreadid=537543



 
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
How can I delete a macro when the Delete button is not active? FCR Excel Worksheet Functions 0 March 9th 06 09:43 AM
How to Delete a Range in Closed Workbook (to Replace Delete Query) [email protected] Excel Discussion (Misc queries) 1 March 8th 06 10:10 AM
how do I delete a worksheet from my workbook DLee New Users to Excel 2 August 15th 05 09:59 PM
Delete row depending on criteria adw223 Excel Discussion (Misc queries) 1 June 30th 05 12:55 AM
How to delete blank rows John Mansfield Excel Discussion (Misc queries) 3 April 27th 05 11:48 PM


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

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

About Us

"It's about Microsoft Excel"