View Single Post
  #2  
Old December 8th 06, 07:43 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Step Mode Values



Yes, you can trust the Debugger. At least I could always do that. As for
e-mail addresses: They aren't case sensitive and so your code should treat
them, you never know what a user enters. Due to that for comparing values I
always convert them with LCASE.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --

Am Thu, 7 Dec 2006 16:21:01 -0800 schrieb Joel:

TIA:

When running through code in Step Mode when I put my cursor over a

variable
or item property, I see a caption with the current value. Can I really

trust
that this is the exact value (case sensistive text) that would need to be

in
code to match an eqaulity statement ie if I see a value of

then
for my If to be true I would need If reciepient.address =


Then...

The issue is the caption in Step Mode shows a value in all CAPS but the

data
itself is mixed upper and lower case. I know my code is case sensitive to
the "actual" email address used in the email To: field.

I would hope a way around is to set a variable for email address and LCase
the data...

Thanks for any help,

Joel

Ads