Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I run a public sub routine from the immediate window? 1

Status
Not open for further replies.

DougP

MIS
Dec 13, 1999
5,985
US
its in a form, not a module. is that why?

I get an error

Compile Error:
sub or function not defined

DougP, MCP, A+
 
>is that why?

Yes

Preceed the sub with the form's name, e.g.

Form1.MySub

(and make sure the form's designer window is closed.)

 
Dooh
Thanks
have a star
that has saved me a lot of time



DougP, MCP, A+
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top