Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,101
Default Can I password protect Excel VBA / Macros?

I've seen it done before but can't find this option.

I just want to protect my VBA from prying eyes without putting a password on
the entire file and protecting each sheet.

Any help would be great!

Thanks,
Mike
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Can I password protect Excel VBA / Macros?

Mike,

In the VBE project explorer window, select your project. Then right click,
and select Properties. There is a Protection tab to do what you want.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Mike" wrote in message
...
I've seen it done before but can't find this option.

I just want to protect my VBA from prying eyes without putting a password

on
the entire file and protecting each sheet.

Any help would be great!

Thanks,
Mike



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 709
Default Can I password protect Excel VBA / Macros?

Mike,
To protect the VBA project, from your workbook right-click the workbook's
icon and pick View Code. This icon is to the left of the "File" menu this
will open the VBA editor, in the left hand window right click on your
workbook name and select VBA project properties, protection, check lock
project for viewing and set a password. Press Alt and Q to close this window
and go back to your workbook and save and close the file. Be aware that this
password can be broken by third party software
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003


"Mike" wrote in message
...
I've seen it done before but can't find this option.

I just want to protect my VBA from prying eyes without putting a password
on
the entire file and protecting each sheet.

Any help would be great!

Thanks,
Mike



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Can I password protect Excel VBA / Macros?

http://support.microsoft.com/default...b;en-us;213903
XL2000: How to Help Protect Visual Basic Code in Excel

--
Regards,
Tom Ogilvy

"Mike" wrote in message
...
I've seen it done before but can't find this option.

I just want to protect my VBA from prying eyes without putting a password

on
the entire file and protecting each sheet.

Any help would be great!

Thanks,
Mike



Reply
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
Password protect macros in Excel Greg Sottile Excel Discussion (Misc queries) 5 December 15th 09 01:23 PM
How can protect an Excel spreadsheet with a password pascalpinault Excel Discussion (Misc queries) 1 July 30th 09 07:44 PM
How do I password protect a workbook in Excel? Elmer Excel Discussion (Misc queries) 4 March 13th 08 06:50 PM
Password protect a sheet without Macros Cappa Excel Discussion (Misc queries) 3 May 27th 06 01:49 AM
Password protect an Excel document Paul B[_7_] Excel Programming 1 September 17th 03 06:47 PM


All times are GMT +1. The time now is 05:34 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"