Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 26th, 2008, 10:44 AM
Registered User
 
Join Date: Mar 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default VBA Code

Referring to this article:

http://office.microsoft.com/en-us/ac...578511033.aspx

Now I can put a code in the VBA bit, but is it possible to set this through some VBA code, so I can click on a button, and the code will be set/reset?

 
Old March 28th, 2008, 06:51 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

That articel refers to password protecting VBA code, and also creating an MDE file (which secures the code.)

What is it that you want to do when you say "set this" and "the code will be set/reset"?

mmcdonal

Look it up at: http://wrox.books24x7.com
 
Old March 31st, 2008, 03:55 AM
Registered User
 
Join Date: Mar 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I like to put in the VBA password through VBA code.

I created a form with users.
When I click on my name, it goes to the VBA code.
But it asks for a password that I set to view.
Can I create a VBA code that enters that VBA password,
as soon as i login? (And not with the Sendkeys command)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Code works in Excel VBA but not Access VBA fossx Access VBA 2 May 21st, 2007 08:00 AM
vba code need in.ssuresh Excel VBA 2 November 29th, 2005 08:40 PM
vba code in.ssuresh Excel VBA 1 November 28th, 2005 05:10 AM
Help with VBA Code KevinN Excel VBA 1 April 22nd, 2005 06:50 AM
VBA code desprate Access VBA 7 April 12th, 2005 08:50 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.