ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   offset and clear (https://www.excelbanter.com/excel-discussion-misc-queries/17675-offset-clear.html)

Kevin

offset and clear
 
Hi
I have a worksheet that contains daily data
i fill column A with a formula which is the index for the data.
what i want to do is check column B for <"" (this means an index
number assigned) i then want to clear the contents of column A below
the last record
in column B

thanks

kevin

Don Guillett

this ??
cblr=cells(rows.count,"B").end(xlup).row
calr=cells(rows.count,"a").end(xlup).row
range(cells(cblr+1,"a"),cells(calr,"a").clear
--
Don Guillett
SalesAid Software

"Kevin" wrote in message
om...
Hi
I have a worksheet that contains daily data
i fill column A with a formula which is the index for the data.
what i want to do is check column B for <"" (this means an index
number assigned) i then want to clear the contents of column A below
the last record
in column B

thanks

kevin





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

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