![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I'm sorry if this is an idiotic question but I've looked all over for an
answer. I have a procedure in Outlook (2003). After a few lines of code, I want to display a form, get some input from the user and then return to the original procedure and carry on executing code just below the line where I made the form open (using the information input by the user). I cannot work out how to get the form to close and the code to continue running where it effectively paused to allow the user input on the form. I can see how to do this using lots of separate modules which call each other in turn but that seems very clumsy. Any help would be much appreciated. |
Ads |
#2
|
|||
|
|||
![]()
Use this method:
MyFormName.Show 1 1 equates to True for the Modal argument, which freezes the form and stops your code until the form is closed, which will resume code after that method. -- Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "Twotone" wrote: I'm sorry if this is an idiotic question but I've looked all over for an answer. I have a procedure in Outlook (2003). After a few lines of code, I want to display a form, get some input from the user and then return to the original procedure and carry on executing code just below the line where I made the form open (using the information input by the user). I cannot work out how to get the form to close and the code to continue running where it effectively paused to allow the user input on the form. I can see how to do this using lots of separate modules which call each other in turn but that seems very clumsy. Any help would be much appreciated. |
#3
|
|||
|
|||
![]()
Thank you. Can't understand how I didn't see that in the help screens!
"Eric Legault [MVP - Outlook]" wrote: Use this method: MyFormName.Show 1 1 equates to True for the Modal argument, which freezes the form and stops your code until the form is closed, which will resume code after that method. -- Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "Twotone" wrote: I'm sorry if this is an idiotic question but I've looked all over for an answer. I have a procedure in Outlook (2003). After a few lines of code, I want to display a form, get some input from the user and then return to the original procedure and carry on executing code just below the line where I made the form open (using the information input by the user). I cannot work out how to get the form to close and the code to continue running where it effectively paused to allow the user input on the form. I can see how to do this using lots of separate modules which call each other in turn but that seems very clumsy. Any help would be much appreciated. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
form with variable/flexible input textbox | David Chang | Outlook and VBA | 2 | December 5th 06 03:13 PM |
transfer calender input from 1 user to another | Paul Dundee | Outlook - Calandaring | 1 | May 16th 06 10:04 PM |
deleted emails returning | David | Outlook - General Queries | 0 | March 30th 06 06:09 PM |
Old Reminders Keep Returning | Anita Taylor | Outlook - Calandaring | 0 | March 9th 06 04:11 PM |
Cannot open a form if input spreadsheet | thtsps | Outlook - Using Forms | 5 | February 7th 06 04:45 PM |