Witzker
Senior Member
- OS Version(s)
- iOS
- Outlook version
- Outlook 2019 32-bit
- Email Account
- Exchange Server 2007
Hallo,
In my user defined form I use a macro to write text in the form body.
The code:
Item.Body = Item.Body & vbCrLf & Date() & " - " & FormatDateTime(Time,4) & ": "
Set objWSHShell = CreateObject("WScript.Shell")
objWSHShell.SendKeys("{TAB 11}")
objWSHShell.SendKeys("^{End}")
objWSHShell.SendKeys("^{backspace}")
It works fine but I noticed that, when I have an email address in the body, it changes from:
eg: test@test.com to: HYPERLINK "mailto:test@test.com" test@test.com
each time the button with the code is pressed
another: HYPERLINK "mailto:test@test.com" is added
are there some settings in outlook?
something wrong with the code?
How can I solve this?
Many thanks for your help.
Regards
WITZKER
In my user defined form I use a macro to write text in the form body.
The code:
Item.Body = Item.Body & vbCrLf & Date() & " - " & FormatDateTime(Time,4) & ": "
Set objWSHShell = CreateObject("WScript.Shell")
objWSHShell.SendKeys("{TAB 11}")
objWSHShell.SendKeys("^{End}")
objWSHShell.SendKeys("^{backspace}")
It works fine but I noticed that, when I have an email address in the body, it changes from:
eg: test@test.com to: HYPERLINK "mailto:test@test.com" test@test.com
each time the button with the code is pressed
another: HYPERLINK "mailto:test@test.com" is added
are there some settings in outlook?
something wrong with the code?
How can I solve this?
Many thanks for your help.
Regards
WITZKER