A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Button in emailed form not working in Outlook 2003



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old November 30th 06, 11:13 PM posted to microsoft.public.outlook.program_vba
[email protected]
external usenet poster
 
Posts: 1
Default Button in emailed form not working in Outlook 2003

I have developed a form, published it etc.
On it are two buttons which when clicked will run the following code.

Sub CommandButton2_Click()
myItem.subject = "Yes I will be attending"
myItem.to = "
myItem.send
msgbox "Thank you for your response"
End Sub

Sub CommandButton1_Click()
item.subject = "No I will not be attending"
Item.to = "
Item.send
msgbox "Thank you for your response"
End Sub

When sent to someone using Outlook 2000, it runs fine (assuming
security allows it) and clicking each button sends an email and
displays the alert box.
When sent to someone using Outlook 2003, it doesn't run the code, even
with security set to low.
However, when testing it under 2003 it works.
Any ideas as to why 2003 recipients can't run the code?

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
send/receive button not working Kirbz Outlook - General Queries 7 November 30th 06 05:30 PM
"Design This Form" button not working Bridget Outlook - Using Forms 0 October 25th 06 09:45 PM
right mouse button not working Warren Chan Outlook - Using Contacts 0 October 6th 06 08:24 AM
Adding a 2nd button (functionality not working) Newt Outlook and VBA 3 March 6th 06 06:35 PM
Command button not working on read page jbtempe Outlook - Using Forms 2 January 14th 06 12:25 AM


All times are GMT +1. The time now is 09:11 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.