Deleting Variable Ranges

  • Thread starter Thread starter bobclark
  • Start date Start date
B

bobclark

This is what I would like to accomplish:

current cell
end down
lock range
delete the contents of the range

The ranges vary each time I want to clear them.

Thanking all of you in advance

HTH
Bob
 
I'm not sure what Lock Range means, but...

dim myRng as range
with activesheet
set myrng = .range(activecell,activecell.end(xldown))
myrng.clearcontents
myrng.locked = true '???
end with
 
You made me laugh!

(Quiet Deb! He has a right to his opinion--no matter how misguided!)
 

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