MasterT
MasterT

Reputation: 623

Form reload/refresh

I am working on a project where I need the form to run code when the form reloads.

I have variables that get changed in a tempVar but I want the running form to run the a command after the form reloads/refresh itself. Is there a way I can do this?

The script I'm running is simple and I have tested it to check that its not the script itself that is causing the problem.

I have tried things like On Load and On Render, but I think I have lost the plot now, so I am looking for new ideas.

Upvotes: 0

Views: 458

Answers (1)

Craig T
Craig T

Reputation: 2742

There is a specific order of events for loading forms. The following code should give you the result you are after:

Private Sub Form_Load()
    ' Insert Code Here
End Sub

Upvotes: 1

Related Questions