I have a macro where i copy code from the vba project area to a new workbook. In order to do this i have to have enabled the

"Trust access to the VBA project object model"

I was wondering if there was a way to test to see if this was indeed disabled so i could let the user know they need to enable it to have program run as it should.

Any ideas?