Referencing a form from macro module

  • Thread starter Thread starter Carol Geddes
  • Start date Start date
C

Carol Geddes

I am using Outlook 2000
From a customer form, I am wishing call a function that accesses the open
forms controls and manipulates them in some way. ie changing the caption. I
thought that if I could call a function then I wouldn't have to repeat the
code for each control that I wanted to manipulate if it is clicked.
I thought I could reference the open form using an inspector or something
but being new to Outlook I am having trouble figuring out the Object model.
My book devotes only 2 chapters on VBS and VBA. It is very sparse.Also I am
finding the help files are in my program difficult to get to useful info.
I have tried using an Inspector object below but it just referenced my
function.

Set ins = objOutlook.ActiveInspector
Set itm = ins.ModifiedFormPages
Debug.Print itm

Any suggestions or explanations or websites with good explanations of the
objects would be appreciated.
Think I will order Sue Mosher's book. But need some help in the meantime.
Thanks
Carol Geddes
 
Back
Top