Global value

  • Thread starter Highlight between 3 fields
  • Start date
H

Highlight between 3 fields

Hello

I want make code on global for whole project as this:

Dim AA As Integer

When I past it in modul under "Option Compare Database" so it be only of
this modul.
I can not change the value on any form, Ex.

Private Sub Kommand11_Click()
AA = 2
End Sub

So where I have to past
Dim AA As Integer
to make it available for the whole project?

Thanks for any comment.
 

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

Top