Leon H H
Posts: 43
Joined: 2010-04-06
|
I was able to add a custom column to Outlook Explorer and have few questions:
1. I do not see that the code I added that I picked on this site has specifics with regards to user account. Does it mean that adding a User-Defined Column to Outlook Explorer is application wide feature? If not, what do I need to do to make this column available to all user accounts, including Exchange accounts?
2. Is it possible to paint the above User-Defined column header in a different color?
3. How can I enable editing of the values in this column programmatically? I did not discover any API so far. Is it possible by setting some Registry value. Will it be application wide setting or per user/account? |
|
Andrei Smolin
Add-in Express team
Posts: 18662
Joined: 2006-05-11
|
Hello Leon,
1. I assume you've updated a view or created a custom one to achieve this. As far as I know, views are per-user and you need to update a view(s) or create a custom view on other users for them to see the change.
2. I don't see such a feature in the Outlook UI. If it is missing, you can't do this.
3. Check https://docs.microsoft.com/en-us/office/vba/api/outlook.tableview.allowincellediting
Regards from Poland (CEST),
Andrei Smolin
Add-in Express Team Leader |
|
Leon H H
Posts: 43
Joined: 2010-04-06
|
With regards to #1:
What I meant was: I need to be able for accounts name@yahoo.com and name@gmail.comwhich show up in outlook (accounts that I am reading my email from). Obviously when I different user logs in the Custom Column will be set for him too, automatically...
With regards to #3: EXCELLENT! THANK YOU! (I don't know how I missed it...) |
|
Andrei Smolin
Add-in Express team
Posts: 18662
Joined: 2006-05-11
|
Hello Leon,
If you mean accounts within an Outlook profile, then the column is located on the folder level and you see it whatever account you use to send/receive an email.
If the accounts are in different profiles, you need to create that column in both profiles.
Regards from Poland (CEST),
Andrei Smolin
Add-in Express Team Leader |
|
Leon H H
Posts: 43
Joined: 2010-04-06
|
Obviously, if another user logs in with different Profile or current user switches Profile then it will automatically do the custom column in xxx_StartupCompleted event handler.
So, expanding one of my previous questions:
Is it possible to change cell or row font and font color in code, and if yes, how? I went through TableView properties but did not see anything that I could set... |
|