Delete Row

  • Thread starter Thread starter bijan
  • Start date Start date
B

bijan

Hi
I need a code to delete rows 1 to 8 in non-active sheet("test") without
select rows.
Thanks in advance
 
sub DeleteRows()

worksheets("test").rows("1:8").delete

end sub
 

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