Witzker
Senior Member
- OS Version(s)
- iOS
- Outlook version
- Outlook 2019 32-bit
- Email Account
- Exchange Server 2007
Hi, I'm working on a OL2019 custom contact form
for further macro operations, I need the Info in which field the cursor & focus is at the moment
To do This, I have now this code:
No errors, but MsgBox is empty!
Pls help with next steps
PS: This is connected with this
for further macro operations, I need the Info in which field the cursor & focus is at the moment
To do This, I have now this code:
Code:
Private Sub CheckContactField()
MsgBox "Checking contact field..."
Dim currField As ContactItem
Set currField = ActiveInspector.CurrentItem
Dim prop As PropertyAccessor
Set prop = currField.PropertyAccessor
Dim schema As String
schema = prop.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x3A4F001E")
MsgBox schema
End Sub
No errors, but MsgBox is empty!
Pls help with next steps
PS: This is connected with this