Message class changes of a custom form changes to the default form

Status
Not open for further replies.

Wigi

New Member
Outlook version
Outlook 2016 32 bit
Email Account
Outlook.com (as MS Exchange)
Hello all,

I have another issue with custom forms. It appears that when UserProperties are accessed, the MessageClass of the form, an appointment in my case, reverts back to the default appointment message class. This is unfortunate since I check hundreds of appointments based on their message class: the custom ones need to be treated differently from the default ones.

I read someting along these lines at: How to automatically refresh an appointment windows after changing the MessageClass property ?

How can I overcome this issue ? I guess that I could check on either the name of the custom apptmt. message class, either the default name but then there should be an additional check that can distinguish between both forms. Like a UserProperty that does not exist in the default appointment form.

Has anyone experienced this before ?

Best regards, thanks,

Wim
 

Wigi

New Member
Outlook version
Outlook 2016 32 bit
Email Account
Outlook.com (as MS Exchange)
Thank you Diane.

I narrowed down the problem more and it seems to only (?) change messageclass when I add or delete a UserProperty through code.
If this is the case, I know where exactly in the code I handle this, such that I can:
1. retrieve the message class
2. do my stuff
3. revert to that message class if it changed

I will implement it like this and see how I get on afterwards.

Thanks

Wim
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
S Create A Search Folder That Looks For Message Class? Outlook VBA and Custom Forms 0
P Message Class keeps changing back to IPM.Contact Outlook VBA and Custom Forms 2
J Outlook 2007 - Change Message Class for all Items in Folder Outlook VBA and Custom Forms 1
L Moving Message Class email via script and Rule Outlook VBA and Custom Forms 3
1 Outlook Message Class Exchange Server Administration 3
S Changed Message class; forms with data resist. Outlook VBA and Custom Forms 5
T Changing Icon of message class Outlook VBA and Custom Forms 1
D.Moore VB script to Digitaly Sign newly created outlook message Outlook VBA and Custom Forms 2
O VBA Outlook Message Attachment - Array Index Out of Bounds Outlook VBA and Custom Forms 0
W September 2020 - No Default Email Client message after Office Update Using Outlook 1
A Flag Message for Follow Up after sending Outlook VBA and Custom Forms 1
S Outlook (2016 32bit; Gmail IMAP) - Save sent message to Outllook Folder Outlook VBA and Custom Forms 0
C Why won't Title display in message list? Using Outlook 1
icacream content in this message could not be downloaded.... Using Outlook 2
J Outlook 2016 After a search in all mailboxes, where is each message that was found? Using Outlook 6
R Warn before sending message Outlook VBA and Custom Forms 4
T Column to display which email alias a message was sent to Outlook VBA and Custom Forms 6
V Change start time based on message duration Outlook VBA and Custom Forms 2
J Message search and edit, another way? Outlook VBA and Custom Forms 4
N VBA to delete duplicates by message-id on common pst for 2 or more emails Outlook VBA and Custom Forms 0
M VBA to auto forward message with new subject and body text Outlook VBA and Custom Forms 8
T Missing text in e-mail message after "(Please keep confidential)" Using Outlook 3
C Custom Form (seperate layout pages and message reading pane) Outlook VBA and Custom Forms 0
C Create new Message with shared contacts & BCC'ing recipients Outlook VBA and Custom Forms 0
M Message list font changed after update Using Outlook 2
BretAB Is it possible to add a lookup field to a Message form? Outlook VBA and Custom Forms 4
D Unopened message in inbox deleted and not in deleted items Using Outlook 3
T Change the selected Message in the Outlook window Outlook VBA and Custom Forms 2
geofferyh Cannot get Macro to SAVE more than one message attachment??? Outlook VBA and Custom Forms 5
evdbogaard Reply with only last message cited Using Outlook 1
T O365 and Office Message Encryption Exchange Server Administration 2
S Custom Form, copy user field data to message body Outlook VBA and Custom Forms 12
D Outlook Message Window Changes Size and Position Using Outlook 1
N VBA Script to Open highlighted e-mail and Edit Message Outlook VBA and Custom Forms 5
R Retain Original Message When Forwarding With Macro Outlook VBA and Custom Forms 3
R Call a Public Sub when a Flag is clicked on in the Message Preview pane Outlook VBA and Custom Forms 1
C Macro to add multiple recipients to message Outlook VBA and Custom Forms 3
P Message List Font Changed Using Outlook 6
I Automating message move between folders Outlook VBA and Custom Forms 0
U Outbox Message Stuck after reading some MailItem Properties with VBA Outlook VBA and Custom Forms 1
e_a_g_l_e_p_i Is there a way to add something that is in the "Format Text" tab to the "basic Text" on the message tab Using Outlook 1
R VBA macro - new message Outlook VBA and Custom Forms 3
I How to display sender's name instead of email address in outlook 2013 message Using Outlook 5
B Search: Cannot find which Folder Contains a Message Using Outlook 3
J Outlook 2016 message content does not display - outlook.com; exchange Using Outlook.com accounts in Outlook 9
E Search for folder by key in subject then move new message to related folder Outlook VBA and Custom Forms 1
D Paste Excel table into Outlook message Outlook VBA and Custom Forms 8
W Message Text Using Outlook 1
P Unread Until Click Another Message? Using Outlook 2
N Saving And Deleting Outlook Attachments with Unknown Error Message Outlook VBA and Custom Forms 1

Similar threads

Top