That's perfectly normal. The code behind a custom form is VBScript, not VBA. There is no editable code behind the form until you add your own code.

Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54

<ymustiregister@gmail.com> wrote in message news:b857a675-98ae-4af4-ab96-d00b19b49852@u36g2000prf.googlegroups.com...
> Hi,
> I am using Outlook 2007.
>
> When I click "View Code" button I get some sort of script editor, not
> the VBA editor.
>
> I have created a combobox on a custom form and I want to be able to
> edit the code behind it. I want to be able to see the code of the
> form.
>
> If I click on the "Visual Basic" button it just opens up a VBA editor
> which just has "ThisOutlookSession" in the tree.
>
> Any ideas?
>
> Thanks.
>
> BoB
>
>
11 JunVBA from outlook 2007 form editor.ymustiregister@gmail.com
11 Jun\ Re: VBA from outlook 2007 form editor.Sue Mosher [MVP-Outlook]
All times are in (US) Eastern Daylight Time (GMT -4:00)