N
NilovSerge
Hallo!
1 I am working in OutLook with VBA. I can work only with events o
Application Object( ItemSend,NewMail,
StartUp,OptionsPagesAdd,Quit,Reminder ). In help(Microsoft OutLoo
Visual Basic Reference) I read:
Open Event Example
This VBScript example uses the Open event to display the "All Fields
page every time the item is opened.
Function Item_Open()
Item.GetInspector.SetCurrentFormPage "All Fields"
End Function
But I never get this event! What is VBScript ? How it differes fro
VBA? Do I need some
installation of Visual Basic? When and how it's events are triggered
For a example I need to catch the
event when a mailItem is Opened in Inspector...
Also I tried so :
Dim myOlApp As New Outlook.Application
Public WithEvents myOlItems As Outlook.Items
...
and create event
Private Sub myOlItems_ItemAdd(ByVal Item As Object)
MsgBox ("myOlItems_ItemAdd")
End Sub
And this event never triggered! What is wrong?
2 I need create button by clicking open Address Book and chosen mail
set to my User Field. Is it
possible
1 I am working in OutLook with VBA. I can work only with events o
Application Object( ItemSend,NewMail,
StartUp,OptionsPagesAdd,Quit,Reminder ). In help(Microsoft OutLoo
Visual Basic Reference) I read:
Open Event Example
This VBScript example uses the Open event to display the "All Fields
page every time the item is opened.
Function Item_Open()
Item.GetInspector.SetCurrentFormPage "All Fields"
End Function
But I never get this event! What is VBScript ? How it differes fro
VBA? Do I need some
installation of Visual Basic? When and how it's events are triggered
For a example I need to catch the
event when a mailItem is Opened in Inspector...
Also I tried so :
Dim myOlApp As New Outlook.Application
Public WithEvents myOlItems As Outlook.Items
...
and create event
Private Sub myOlItems_ItemAdd(ByVal Item As Object)
MsgBox ("myOlItems_ItemAdd")
End Sub
And this event never triggered! What is wrong?
2 I need create button by clicking open Address Book and chosen mail
set to my User Field. Is it
possible