LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default AUTOMATIC DELETE

Could anyone please tell me how to write a sub() to automatically delete
null numval lines in a sheet viz
sub DelNul()
Dim Cell As Range
For Each Cell In Sheets("'Sheet1").UsedRange
If Sheets("Sheet1").Range(Cell.Address).value - vbNullString Then
Delete Line 'OR SOMETHING LIKE THIS?
Else
End If
Next
End Sub


 
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 automatic page breaks in excel jo New Users to Excel 1 July 30th 08 05:03 PM
Automatic delete row in Excel 2003 Marc Robinson Excel Discussion (Misc queries) 1 April 18th 08 08:12 AM
How do I set up an automatic delete or move of a row of data? Zo Excel Discussion (Misc queries) 4 November 24th 05 08:35 PM
What is an automatic way to delete all rows of a certain kind Najeeb Excel Discussion (Misc queries) 1 May 19th 05 11:39 PM
automatic delete possible? musicgirl Excel Worksheet Functions 1 November 11th 04 05:06 AM


All times are GMT +1. The time now is 02:45 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"