Code window changes case and throws error

O

owlnevada

Does anybody know why changing something in the code window automatically
changes the case on the first letter of a property? In the Page setup code,
the word application should be a capital letter when it runs OK. I've
changed something and don't know what it is and now where the word
application appears its switched to lower case and throws the error "Expected
function or variable". When I copy this code to a new workbook, it runs
fine. Is my code file corrupt and if so, what is the best way to get around
this?
 

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