Re: User functions not working on Task Form
- From: "Sue Mosher [MVP-Outlook]" <suemvp@xxxxxxxxxxxxxxx>
- Date: Tue, 25 Jul 2006 09:11:09 -0400
i could not find a page open event so have
done this via a command button, but a page open event would be
preferable if this is possible.
Use the Item_Open() event handler.
The second more crucial problem is that the command buttons do not
work. i have published the form in a shared folder
A shared folder in another user's mailbox? Code won't run there by default. See http://www.outlookcode.com/d/secforms.htm#mailboxscript
P.S. i am also trying to add a new folder to the inbox via the command
buttons but can only find DefaultFolder(10) which appears to be
contacts, i have tried olInbox but this doesn't work, thanks again
When in doubt, check the object browser: Press ALt+F11 to open the VBA environment in Outlook, then press F2. Switch from <All Libraries> to Outlook to browse all Outlook objects and their properties, methods, and events -- including all constant enumerations.
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
"DrewP" <drewpro@xxxxxxxxxxx> wrote in message news:1153831602.713068.316600@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello.
i am using Outlook 2003, i have edited the task form and added some
user funcitons, a couple of command buttons and combobox.
The combobox is populated by the names of sub-folders in a public
folder on my hard drive, i could not find a page open event so have
done this via a command button, but a page open event would be
preferable if this is possible.
The second more crucial problem is that the command buttons do not
work. i have published the form in a shared folder and can be seen by
all. the form fires up no problem and the controls are there but when
clicked they do not do anything. if i move to design the form and then
run it without do anything thenall of the buttons work.
If anyone has any idea what is going on i would be most grateful, i
have a bit of VBA experience but am new to outlook(VBScript) so sorry
if i missed anything.
Drew
P.S. i am also trying to add a new folder to the inbox via the command
buttons but can only find DefaultFolder(10) which appears to be
contacts, i have tried olInbox but this doesn't work, thanks again
- Follow-Ups:
- Re: User functions not working on Task Form
- From: DrewP
- Re: User functions not working on Task Form
- References:
- User functions not working on Task Form
- From: DrewP
- User functions not working on Task Form
- Prev by Date: User functions not working on Task Form
- Next by Date: Calculated Value in Textbox versus Formula Fields
- Previous by thread: User functions not working on Task Form
- Next by thread: Re: User functions not working on Task Form
- Index(es):
Relevant Pages
|