Deleting all data in a Worksheet

  • Thread starter Thread starter kirkm
  • Start date Start date
K

kirkm

Looking for a method to delete everything in a Worksheet from code.
Not the sheet itself, though.

And, is it possible to keep the structure, i.e the way the columns
have been formatted ?

Many thanks - Kirk
 
activesheet.cells.clearcontents

Will clear all the values and formulas from the activesheet.
 

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