Enable Alt Key

accessman2

Registered User.
Local time
Today, 07:29
Joined
Sep 15, 2005
Messages
335
Hi,

For i = 1 To CommandBars.count
CommandBars(i).Enabled = False
Next i

How can I enable back the Alt Key? Thanks.
 
accessman2 said:
Hi,

For i = 1 To CommandBars.count
CommandBars(i).Enabled = False
Next i

How can I enable back the Alt Key? Thanks.


Could try toggling it.

Code:
CommandBars(i).Enabled = Not CommandBars(i).Enabled

That will toggle it back and forth.
 
What are you trying to do?
 
Hi,

How can I enable back the Alt Key? Thanks.

Because once the database is opened, I setup
For i = 1 To CommandBars.count
CommandBars(i).Enabled = False
Next i

But, the Menu bar has one option, Format

I want the user to use "Alt+F" to go the "Format".

Does anybody know?

Thanks.
 

Users who are viewing this thread

Back
Top Bottom