Code for a custom form goes into the form's code editor (View Code). VBA code
is an entirely separate code environment.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
"Gary Newport" wrote:
Thanks for this.
One more stupid question; does thi code into "View Code" or directly into
the currentsession of the VBA Editor?