UserControl Property Example
This example displays the status of the UserControl property.
If Application.UserControl Then MsgBox "This workbook was created by the user" Else MsgBox "This workbook was created programmatically" End If