ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Help to clear data & delete rows (https://www.excelbanter.com/excel-programming/355551-help-clear-data-delete-rows.html)

Eddy Stan

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


Eddy Stan

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



All times are GMT +1. The time now is 04:59 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com