Hi Sergey,
Thank you for the links. I am actually looking for something different.
I used error: 1733 to trap the createobject('outlook.application') if outlook is not installed. However, in our case, Outlook is installed but the mail profile is not. As such, creating the instance of Outlook start the Outlook Profile Setup Wizard. This wizard asks for email address, personal folders, address folders, etc.
>See
Re: Is Word/Excel installed Message #
566432.
>
>>Hi all,
>>
>>Can you check if Outlook is setup in the PC? Running the following code:
>>
>>oOutlookApp = createobject('Outlook.Application')
>>
>>will start the Outlook Setup wizard if no Mail profile has been defined in Outlook.
>>
>>Thanks,
ramil
~~ learning to stand still