U
UKNewbie
Hi,
I'm a newbie at VBA and have absolutely no knowledge of working with vbscript in general or within Outlook
I'm trying to set up two new Outlook forms at work. Although I can set the design elements that make up the forms, I have no idea how to script the events. What I want to accomplish is as follows: -
1. The first form has a number of commandbuttons and associated text boxes. I would like a script which will populate the associated text box with the current time and render the commandbutton inactive and the associated textbox read only.
There are three further text boxes associated with the time text box. I need these to pervent users from sending the e-mail if these are not completed. I'm assuming this can be accomplished by using validation rules. Further advice on this would be appreciated.
2. The second form has a listbox on the first page, with several further, hidden pages. Based on the option chosen by the user from the listbox, I would like one of the hidden pages to become visible whilst hiding the first page. I also need it to populate the "To:" field with a specific distribution list based on the choice.
Also, is if I wasn't asking too much already, could you please lend some advice on suitable material on the subjects of both vbscript, especially in relation to Outlook forms, and vba?
Thanks in advance to anyone who can spare the time to assist a novice.
Mike
I'm a newbie at VBA and have absolutely no knowledge of working with vbscript in general or within Outlook
I'm trying to set up two new Outlook forms at work. Although I can set the design elements that make up the forms, I have no idea how to script the events. What I want to accomplish is as follows: -
1. The first form has a number of commandbuttons and associated text boxes. I would like a script which will populate the associated text box with the current time and render the commandbutton inactive and the associated textbox read only.
There are three further text boxes associated with the time text box. I need these to pervent users from sending the e-mail if these are not completed. I'm assuming this can be accomplished by using validation rules. Further advice on this would be appreciated.
2. The second form has a listbox on the first page, with several further, hidden pages. Based on the option chosen by the user from the listbox, I would like one of the hidden pages to become visible whilst hiding the first page. I also need it to populate the "To:" field with a specific distribution list based on the choice.
Also, is if I wasn't asking too much already, could you please lend some advice on suitable material on the subjects of both vbscript, especially in relation to Outlook forms, and vba?
Thanks in advance to anyone who can spare the time to assist a novice.
Mike