I don't quite follow what you mean by "clicking on Publish and then save."
Publishing a form and saving an item are two entirely different things. After
you publish the form, to use that form, you can launch a new item with it
using the Tools | Forms | Choose Form command. If you want to design it again
(and see the code), 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
"Gary Newport" wrote:
Hi Sue again!
Okay, I have tried several times to put the code in but every time I close
the form the code disappears; lost into the ether!
(
Do you know why? Am I missing a permissions thing (which I can get changed)
or am I doing something wrong?
I am using Outlook 2007, using View Code and pasting the code in, clicking
on Publish and then save. I am now saving to the organisational library area
(I am the only one working ion there and the employees know not to use the
form yet).
Help please!
)
"Gary Newport" wrote:
Thanks for this. I will give it all a try tomorrow. The fun of learning, eh?
"Sue Mosher [MVP-Outlook]" wrote:
Code for a custom form goes into the form's code editor (View Code). VBA code
is an entirely separate code environment.
"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?