You can use the ProjectType property to determine the type of project that is currently open through the CurrentProject or CodeProject objects.
Setting
The ProjectType property returns one of the following intrinsic constants.
acADP (1) | acNull (0) |
acMDB (2) |
The ProjectType property is available only by using Visual Basic and is read-only.