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.
<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
>
>