Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 151
Default Help to clear data & delete rows

help me out...

the line below clears all contents in the sheet
basebook.Worksheets("SUNDRY CREDITORS").Cells.Clear

but I want ...
(1) to clear only data below row6 and
(2) to clear only data below row6 and after column ac

Secondly - to delete
I need to check value in column h of each row, starting from row6;
if value is blank or zero or error, that row should be deleted, then the
check must be applied to next row, check then ignore or delete, so on till
end of the sheet.

thanks in advance..

Eddy stan

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 151
Default Help to clear data & delete rows

any help on this...

"Eddy Stan" wrote:

help me out...

the line below clears all contents in the sheet
basebook.Worksheets("SUNDRY CREDITORS").Cells.Clear

but I want ...
(1) to clear only data below row6 and
(2) to clear only data below row6 and after column ac

Secondly - to delete
I need to check value in column h of each row, starting from row6;
if value is blank or zero or error, that row should be deleted, then the
check must be applied to next row, check then ignore or delete, so on till
end of the sheet.

thanks in advance..

Eddy stan

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
Clear and Copy vs Delete Barry Lennox[_2_] Excel Discussion (Misc queries) 2 December 19th 08 08:46 PM
Delete rows with no data Mindie Setting up and Configuration of Excel 1 November 30th 05 09:24 PM
question data validation and delete/clear behavior Jeff Higgins Excel Programming 0 January 23rd 05 08:09 PM
Clear/Delete an Array Raul[_4_] Excel Programming 5 May 13th 04 10:12 PM
Delete certain rows of data... RMJ Excel Programming 3 January 26th 04 08:30 AM


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