Why "expected function" on such basic VB?

S

Snake Plissken

perhaps during compilation of ur code a function is expected in any other
place ? Do you use option explicit directive and you compiled manually ur
code before u run the macro ?
 
H

Harald Staff

Hi

Adding, don't select and activate, it is unnecessary and slow in at least
99% of the cases. Just write

Sheets("abc").Cells.Clear

it runs invisible and fast, and your working environment doesn't change.

HTH. Best wishes Harald
 

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