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
 
S

Scott Ketelaar

try using

My.Application


or make sure you dont have a variable called application.


--scott
 
Top