Roland Askew
Member
- Outlook version
- Outlook 2021 64 bit
- Email Account
- IMAP
I have created a custom contact form which calculated the contact age based on their date of birth. The age is stored in a user defined field and I use the normal date of birth field. All this works perfectly when creating the contact the problem is when you open the contact later the age field does not to their current age. If a year later you open the contact then their age should be one year greater however this does not happen until one of the fields is changed and the property change event is run. Then it calculates the age correctly.
Is there anyway to run this event when the form is loaded or how would I run the repaint if that would work.
I currently have a poor work around by using the form opening event and changing a field using vba and then changing it back.
Thanks for any help anyone can give and if needed I am using Outlook 2016.
Roland
Is there anyway to run this event when the form is loaded or how would I run the repaint if that would work.
I currently have a poor work around by using the form opening event and changing a field using vba and then changing it back.
Thanks for any help anyone can give and if needed I am using Outlook 2016.
Roland