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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to make sure the macro starts from a form 1

Status
Not open for further replies.

vbdbcoder

Programmer
Nov 23, 2006
247
US
This must be a stupid question.

How do I make sure the macro starts at a userform instead of subMain()?
 
If your form is named frmMain then this will load your form:

Sub MainSub()
frmMain.Show​
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top