PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook Form Programming
Close form automatically
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook Form Programming
Close form automatically
![]() |
Close form automatically |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
I have a button on a form I'm creating that sends to form
to me. When the user clicks on the button, is there a way to; 1) prevent the 'Save Changes' dialog from appearing and 2) close the form immediately after it is sent without the user having to close the form window. Thanks! |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Syntax mailitem.close(SaveMode) SaveMode 0 = Save with no prompt 1 = Discard changes 2 = Prompt user Example mailitem.close(1) "RogerC" <anonymous@discussions.microsoft.com> wrote in message news:04a101c4298a$c1492b00$3501280a@phx.gbl... > I have a button on a form I'm creating that sends to form > to me. When the user clicks on the button, is there a way > to; > 1) prevent the 'Save Changes' dialog from appearing and > 2) close the form immediately after it is sent without the > user having to close the form window. > Thanks! |
|
|
|
#3 |
|
Guest
Posts: n/a
|
Thanks Jesslyn
When I add the code 'mailitem.clsoe(0)' and run my form I get an error dialog that says 'Object Required: 'mailitem'. Do you know what I may be doing wrong? |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

