View Single Post
  #4  
Old August 20th 07, 04:38 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Attach VB Code to Form?

How did you open the .oft file in design mode? You should use Tools | Forms | Design a Form.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"G" wrote in message ...
Thanks, Sue. On another note, I downloaded your forms routing message
(http://www.outlookcode.com/d/forms/routemsg.htm) and when I select FORMS |
View Code (in design mode), nothing appears.

I'm running Outlook 2003 (SP2). Am I doing something wrong?

Thanks.

G


"Sue Mosher [MVP-Outlook]" wrote:

You click the View Code button on the toolbars or menu and then type the control into the code window that appears, affectionately known to Outlook developers as "Visual Notepad." The code is VBScript, not VB. For a commandbutton, only the Click event is supported.



"G" wrote in message news
I'm relatively new at form design (but have some VB experience) ... how do
you 'attach' VB code to a form? I tried creating a button control, but there
doesn't appear to be a way to attach the code (a la Access).

Thanks.

G


Ads