Set myControl = fraSearch.Controls("myControl")
See
http://www.outlookcode.com/article.aspx?ID=32 for more information.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
"helprdc" <(E-Mail Removed)> wrote in message
news:8F5CD15F-D5A4-42C5-9DF0-(E-Mail Removed)...
>I am trying to access a control on a frame on a custom form in Outlook with
> VB Script. I set the frame what is the next step
> Set fraSearch =
> Item.GetInspector.ModifiedFormPages("Contact").Controls("fraSearch")
>
> Rich
>