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 - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

delete and backspace key's not working after msgbox



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old May 9th 08, 12:24 AM posted to microsoft.public.outlook.program_forms
lseat
external usenet poster
 
Posts: 1
Default delete and backspace key's not working after msgbox

Hi,

I'm a complete beginner with outlook forms and VB. I've put together a form with a series of input fields, and the values from these get put into the message field when the email is sent. Also there are a series of checks to to make sure all of the fields are complete and there is an attachment attached.

This all works fine, except if I leave a field blank and a warning message pops up and I click OK and go back to the field, I can enter text fine, but the delete and backspace keys do not work, in that field, or any other field that I've created. If I click in the message field and then back again, the ability to delete returns.

any ideas?

here's the gist of the code:

Function Item_Send()

If Item.Attachments.Count = 0 Then
Item_Send = False
ans = MsgBox("Please attach the master document.")
exit function
End If

If UserProperties.Find("Client").Value = "" Then
Item_Send = False
ans = MsgBox("Please enter the client’s name.")
exit function
End If

'Set the HTMLBody of the item.
Item.HTMLBody = "HTMLBODYFont face=Arial size=5 color=#999999bJob Release/b/Fontbr/Font face=Verdana size=2bClient: /b" & UserProperties.Find("Client").Value &_
"br/br/bOther Comments: /bbr/" & item.HTMLBody &_
"/Font/BODY/HTML"


End Function



Any help would be greatly appreciated.

Also, when the message is received it does not open in the Reading Pane, giving a message "This item contains active content that cannot be displayed in the Reading Pane. Open the item to read its contents." I haven't looked into this yet, but some help in the right direction would be great.

thanks in advance.
 




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
Delete Key quit working James Outlook Express 14 May 23rd 07 02:09 AM
Fw: Delete Key quit working Outlook Express 0 May 22nd 07 06:28 PM
Problem with DOUBLE LETTERS and Backspace Teched Outlook - General Queries 1 December 1st 06 04:11 PM
Problem with DOUBLE letters and Backspace Teched Outlook - General Queries 1 December 1st 06 04:10 PM
e-mail backspace deleting in body instead of in address field [email protected] Outlook - General Queries 0 October 18th 06 08:48 AM


All times are GMT +1. The time now is 06:12 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.