Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Password for vba editor ?

Status
Not open for further replies.

kkgusta

MIS
Nov 10, 2005
42
NZ
I have create a simple Access db and froms. Whenever user encounter an runtime error in the from Access will ask user to debug and the vb editor with the related vba code will be display. Is anyone know how to disable or setup some security like password login on the vb editor that limit the user to access to the code?
 
Why not using a .MDE ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
if not an .mde then, add error handling to ALL, you subs.
Then, you can control what user interaction, if any,
is available.
MzTools or Zada.uk offer utilities which will add error
handling to every routine, in your DB, at once.

 
While you are in the VBE editor

TOOLS > {yourdbname}PROPERTIES > PROTECTION > LOCK PROJECT FOR VIEWING=TRUE
set your password too

________________________________________________________
Zameer Abdulla
Help to find Missing people
Sharp acids corrode their own containers.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top