Application.ActiveProject changes to Application.activeProject


A

Adrian Miller

Hi,

in a class module I'm trying to check for not existings projects:

If Not Application.activeProject Is Nothing Then

But I receive Object Required as an error. Why this? I noticed that Project
does change the first letter of A to a.

Does that have any influence? Where is my mistake?

Thanks,
Adrian
 
Ad

Advertisements

S

Scott Ketelaar

try using

My.Application


or make sure you dont have a variable called application.


--scott
 

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

Similar Threads


Top