S
Simon Shaw
See this simple bit of code...
<start>
Public Sub trainer_open()
Dim myItem As Outlook.ContactItem
Set myItem = Application.ActiveInspector.CurrentItem
<end>
This is called from the item_open event on a custom contact form.
When I create a new item, the assignment of CurrentItem does not seem to
take place - it results in myItem being set to Nothing, with resulting
problems later in the subroutine.
Why might this be?
TIA
Simon Shaw
<start>
Public Sub trainer_open()
Dim myItem As Outlook.ContactItem
Set myItem = Application.ActiveInspector.CurrentItem
<end>
This is called from the item_open event on a custom contact form.
When I create a new item, the assignment of CurrentItem does not seem to
take place - it results in myItem being set to Nothing, with resulting
problems later in the subroutine.
Why might this be?
TIA
Simon Shaw