Yes I’m aware of the difference but the original question was >> I am looking
to insert [Event Procedure] for a form's event through VBA.
The original question was not; I am looking to insert an Event Procedure for
a form's event through VBA.
In any case, I have seen a few people do this and then ask the question; why
doesn’t it work in an MDE file. A lot of work wasted by not considering the
final requirement and that requirement was not mentioned directly in the
Microsoft article.
So I mentioned it just in case the original poster had not considered that
point.
--
A nod is as good as a wink to a blind horse.
Stefan Hoffmann said:
hi Chris,
To answer the direct question and using the example in the link to Microsoft
by Stefan: -
Me.Command1.OnClick = "[Event Procedure]"
This will not "insert" an event procedure. It will only link to an
existing one. This is a big difference, hence my question.
mfG
--> stefan <--
.