Call Public sub in one form from another

  • Thread starter Thread starter JP Bless
  • Start date Start date
Its pretty simple however the form that contains the routine you want to
call must be loaded, meaning it’s open.

Dim NewForm as Form
Set NewForm = Forms(FormName) ‘Name of the open form you want to reference
NewForm.routinename
 
Hi Rick
Worked like a charm. I have been battling this problem for days. Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top