Simple Question?

AcceSs-AbLe

Board Regular
Joined
Jan 27, 2003
Messages
87
Hi Everyone,

I have a simple question. My db will be entirely form driven, however, I want to grant certain users access to the "database window"(F11 Key). I am using a "bootleg" process to accomplish this, simply, I have a link to the db window and a text box prompts for a password and as long as the password matches the one in code, it will load the main db window.

To get to the main point, I can't find the VBA command that opens the Database Window.

Thank you for your help!!
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Think you mean alt+F11
I think you're looking for:

DoCmd.OpenModule modulename_here

And, have you ever thought about using the built in security wizard?

Tools-Security-(different options here)

You can force logins to the mdb with each login granted specific rights to work with all the objects, including the code modules, in the database.

Mike
 
Upvote 0

Forum statistics

Threads
1,221,692
Messages
6,161,351
Members
451,697
Latest member
pedroDH

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top