View Single Post
  #4  
Old September 19th 08, 05:45 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Automatic butten that show the user

If you want to use the value of CurrentUser.Address to set the value of a
custom field, use the UserProperties syntax, as described at
http://www.outlookcode.com/article.aspx?ID=38
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54




"הוספת חתימה בטופס אישי" wrote:

ill explain again (unless i didn't undrstood your answer), i want to design
on the form a butten and field, by clicking on the butten ill see the name of
the own mail box.

"Sue Mosher [MVP-Outlook]" wrote:

You can return the user's name with the expression
Application.Session.CurrentUser.Name.

I don't know what you mean by "show me new field." Any new field would have
to be designed into the form, not created on the fly.

"הוספת חתימה בטופס אישי" wrote:

Hi,
I would like to add to my form a butten so if i will click on it, that will
show me new field with the name of the writer of the message.
Ran

Ads