clear column

  • Thread starter Thread starter owl527
  • Start date Start date
O

owl527

hi,
If I want to clear two specific columns on the spreadsheet. How can I
go about doing it? I only know how to clear the entire sheet, which
is:

ws.Cells.ClearContents

what if I just want to delete column A and B? please let me now.
Thanks.
 
ws.Columns("A:B").ClearContents
Regards,
Stefi


„owl527†ezt írta:
 
hint: this will clear sixth column in active spreadsheet:

Columns(6).ClearContents
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top