Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 918583 - Last Review: November 3, 2006 - Revision: 1.1
How to use the Workgroup Administrator utility in Access 2007
This article applies to Microsoft Access .mdb files and .accdb files.
This article describes how to use the Workgroup Administrator utility in Microsoft Office Access 2007.
Note User-level security does not exist in an .accdb file, even though you can run the Workgroup Administrator utility from an .accdb file in Access 2007.
To use the Workgroup Administrator in earlier versions of Access, you could click
Workgroup Administrator in
Security on the
Tools menu. To use the Workgroup Administrator utility in Access 2007, use one of the following methods.
Method 1: Use Visual Basic code
To use Visual Basic code, use one of the following methods.
- Run the Visual Basic code in the Immediate window:
- In Access 2007, open a trusted database, or enable macros in the existing database.
- Press CTRL + G to open the Immediate window.
- Type the following line of code, and then press ENTER.
DoCmd.RunCommand acCmdWorkgroupAdministrator
- Create a module that contains the Visual Basic code:
- In Access 2007, open a trusted database, or enable macros in the existing database.
- On the Create tab, in the Other group, click Macro, and then click Module.
- Create a subroutine, and then paste the following Visual Basic code example into the subroutine.
DoCmd.RunCommand acCmdWorkgroupAdministrator
- Press F5 to run the code.
Method 2: Use the RunCommand macro action
- In Access 2007, open a trusted database, or enable macros in the existing database.
- On the Create tab, in the Other group, click Macro, and then click Macro.
- On the Design tab, click Show All Actions in the Show/Hide group.
- On the Macro1 tab, click RunCommand in the Action column, and then click WorkgroupAdminstrator in the Command list.
- Click Save.
- In the Tools group, click Run.
APPLIES TO
- Microsoft Office Access 2007
| kbexpertisebeginner kbinfo kbhowto KB918583 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate