LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default VBA password problem

excel doesn't offer anything that can protect/reprotect your project.

A few people have used Sendkeys--but that's not too reliable.

Bill Manville's post has been suggested a few times...

http://groups.google.co.uk/group/mic...47ea006527ed5e

or

http://snipurl.com/a049

But I wouldn't use it in production.

=====
Maybe you can add a new workbook, and create the temporary userform there. But
be aware that there is a setting (xl2002+) that each user can set that may cause
you trouble:

Tools|macro|security|trusted publishers tab|
If "Trust access to Visual Basic Project" is unchecked, you've still got
trouble.

Another option (that might even be easier???) is to design your form for the
worst case.

Then just hide the controls you don't need.


wrote:

My VBA code is password protected. I need to create a Userform and
associated code on the fly... this is not problem. But releasing the
password to run the procedure IS!! Is there away around this?
I need to make it seamless so users are not aware of any
unprotect/protect activity in the background.


--

Dave Peterson
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Asking for password problem Jgeurian21 Excel Discussion (Misc queries) 0 March 24th 10 09:51 PM
Password Problem Miki Excel Discussion (Misc queries) 9 September 5th 08 02:58 AM
password problem S S Excel Worksheet Functions 3 June 20th 07 10:18 PM
I have a password problem Tim Zanor Excel Worksheet Functions 2 November 7th 04 07:15 PM
password problem sam[_5_] Excel Programming 4 February 21st 04 07:50 PM


All times are GMT +1. The time now is 08:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"