Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
hol hol is offline
external usenet poster
 
Posts: 12
Default Delete rows automatically

Is there a code to delete rows automatically once it reaches row 100. But to
delete from row 1.
--
hol
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Delete rows automatically

Worksheet_event code may be good for this. If you use calculate it may fire
too often. You might like a worksheet_change event that says

if target.row=100 then rows(1).delete

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"hol" wrote in message
...
Is there a code to delete rows automatically once it reaches row 100. But
to
delete from row 1.
--
hol


  #3   Report Post  
Posted to microsoft.public.excel.misc
hol hol is offline
external usenet poster
 
Posts: 12
Default Delete rows automatically

Thank you Don,
As I delete a rows will there be less rows overall or will there always be
65,000 rows regardless whether one is deleted or not?
--
hol


"Don Guillett" wrote:

Worksheet_event code may be good for this. If you use calculate it may fire
too often. You might like a worksheet_change event that says

if target.row=100 then rows(1).delete

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"hol" wrote in message
...
Is there a code to delete rows automatically once it reaches row 100. But
to
delete from row 1.
--
hol



Reply
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 to automatically delete non-contiguous rows Hucleberry Hound Excel Discussion (Misc queries) 2 June 28th 12 03:14 PM
Automatically delete blank rows Tinkerbell1178 Excel Discussion (Misc queries) 4 May 29th 07 03:24 PM
HOW DO I AUTOMATICALLY DELETE ROWS WITH ZERO BALANCES? suec4 Excel Worksheet Functions 1 August 25th 06 03:17 PM
Automatically insert/delete rows to be x apart Mr_Flibble Excel Discussion (Misc queries) 5 February 17th 06 04:04 AM
How to delete rows when List toolbar's "delete" isnt highlighted? Linda Excel Worksheet Functions 1 May 26th 05 08:39 PM


All times are GMT +1. The time now is 08:37 AM.

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

About Us

"It's about Microsoft Excel"