On Wed, 16 Jun 2004 08:36:59 -0700, "Barry"
<(E-Mail Removed)> wrote:
>Hello,
>
>I have an application that opens a form using VBA which I
>converted from a macro. It was working just fine, but
>now for some reason, it doesn't - when I try to open the
>form I get my error message. However, when I put the
>macro back on the button, the form opens normally, so I
>guess the problem is with the code (which compiles
>properly). But the code was converted from a macro that
>works, so I'm left scratching my head as to what the
>problem is. Can someone explain to me what's happening
>and help me solve this? Thanks in advance to anyone who
>replies.
Care to post the code? I can't see it from here, so it's a bit
difficult to debug!
Note that the event property on the form design should show
[Event Procedure]
rather than the name of the macro.
John W. Vinson[MVP]
Come for live chats every Tuesday and Thursday
http://go.compuserve.com/msdevapps?loc=us&access=public