Need adding new commands in Access VBA 2010 and not work (1 Viewer)

Ra'ef Gamil

New member
Local time
Today, 13:55
Joined
Oct 27, 2021
Messages
2
Are there limits for writing commands in Visual Basic Application in Access 2010
Because I added new commands in the program and it does not feel the presence of these additions !!
 

Gasman

Enthusiastic Amateur
Local time
Today, 11:55
Joined
Sep 21, 2011
Messages
14,038
I think you need to give people a little more to go on?
Bit like asking 'how long should my bit of string be?' :)
 

theDBguy

I’m here to help
Staff member
Local time
Today, 04:55
Joined
Oct 29, 2018
Messages
21,357
Yes. Can you show us an example of what you mean or did?
 

LarryE

Active member
Local time
Today, 04:55
Joined
Aug 18, 2021
Messages
562
Are there limits for writing commands in Visual Basic Application in Access 2010
Because I added new commands in the program and it does not feel the presence of these additions !!
I would sure like to know how you "added new commands in the program".
 

The_Doc_Man

Immoderate Moderator
Staff member
Local time
Today, 06:55
Joined
Feb 28, 2001
Messages
26,996
If you mean "adding commands as lines of code" then each module has a limit of 65,000 lines spread out over however many entry points and DIM statements you have.

If you mean "adding commands as command buttons" then each form has a limit of 768 controls (and a command button is a control). That 768 is for the entire life of the form.

If you mean "adding commands as macro steps" then I think each named macro has a limit of 999 steps.

If you mean something else, you will need to be more specific.
 

Users who are viewing this thread

Top Bottom