Results 1 to 2 of 2
  1. #1
    New Lounger
    Join Date
    Mar 2001
    Location
    Dallas, Texas, USA
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Outlook 98 VBScript Question

    Using Win NT Workstation 4.0 and Outlook 98. I have created a custom form for use in a process and it involves several public folders. I have an on open event in my VBScript in which I am attempting to hide certain buttons that I have added depending on which public folder the form is located in. I just can't get it to work. I have been pulling my hair out (what little I have, that is) over the Outlook Object model and the limitations of VBScript. I know that the MS Forms Object model has a controls collection, but I can't seem to find it in VBScript for my Outlook form. HELP. Thanks in advance.

  2. #2
    New Lounger
    Join Date
    Mar 2001
    Location
    Dallas, Texas, USA
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Outlook 98 VBScript Question

    I figured out my own question. Thought I'd share this for others...here is the sample VBScript code to use:

    Item.GetInspector.ModifiedFormPages("PageName").Co ntrols _
    ("ControlName").Visible = False

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •