where do i put this code?

Signature
> Hi,
>
[quoted text clipped - 7 lines]
>
> HTH
paul.robinson@it-tallaght.ie - 14 Dec 2007 15:30 GMT
> where do i put this code?
> --
[quoted text clipped - 12 lines]
>
> - Show quoted text -
Hi
Double click your form and paste it in (the code module behind the
form)
regards
Paul
Moh - 14 Dec 2007 15:47 GMT
it doesn't work
pls help further

Signature
> > where do i put this code?
> > --
[quoted text clipped - 18 lines]
> regards
> Paul
merjet - 14 Dec 2007 17:11 GMT
What exactly do you mean by "it doesn't work"?
Maybe you need to add a Command Button with
the following code:
Private Sub CommandButton1_Click()
Sheet1.Activate
Unload Me
End Sub
Carim - 14 Dec 2007 15:38 GMT
Open your form, hit F7 and copy code ...
merjet - 14 Dec 2007 15:40 GMT
> where do i put this code?
In the UserForm's code module.
Hth,
Merjet