macros: clear cell

C

clear merged cell

I am trying to run clear cell using 'Sub clearcell' function, but getting
this error message.

Run time error '1004'
Cannot change part of merged cell

Does this mean that I can't run clear function on merged cells?
 
J

Joel

A merged cell from a macro can only be accessed from the top left cell. You
arre probably trying to clear a merge cell from a different cell.
 

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

Top