Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Protecting / Hiding the Code

Hey everyone, I need to find out how to hide the VB code
behind an Excel Workbook. Is it possible to protect it
via password? Can the code be made inaccessible to the
users? Please advise

DBAL

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Protecting / Hiding the Code

Hi
in the VBA editor right-click on your project name, choose VBA
properties and assign a password.

Note: This kind of protection is very weak. There's no way to really
protect VBA code.

--
Regards
Frank Kabel
Frankfurt, Germany

"DBAL" schrieb im Newsbeitrag
...
Hey everyone, I need to find out how to hide the VB code
behind an Excel Workbook. Is it possible to protect it
via password? Can the code be made inaccessible to the
users? Please advise

DBAL


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Protecting / Hiding the Code

In VBA, go to the Tools menu, choose VBA Project Properties then
the Protection tab. There, check the "Lock project for viewing"
option and enter a password.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"DBAL" wrote in message
...
Hey everyone, I need to find out how to hide the VB code
behind an Excel Workbook. Is it possible to protect it
via password? Can the code be made inaccessible to the
users? Please advise

DBAL



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Protecting / Hiding the Code

Thanks a million. When I was in there looking at what
Frank said I saw that. Thanks again! It works.


-----Original Message-----
In VBA, go to the Tools menu, choose VBA Project

Properties then
the Protection tab. There, check the "Lock project for

viewing"
option and enter a password.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"DBAL" wrote in message
...
Hey everyone, I need to find out how to hide the VB

code
behind an Excel Workbook. Is it possible to protect it
via password? Can the code be made inaccessible to the
users? Please advise

DBAL



.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Protecting / Hiding the Code

Thanks alot man. That was the ticket! DBAL


-----Original Message-----
Hi
in the VBA editor right-click on your project name,

choose VBA
properties and assign a password.

Note: This kind of protection is very weak. There's no

way to really
protect VBA code.

--
Regards
Frank Kabel
Frankfurt, Germany

"DBAL" schrieb im

Newsbeitrag
...
Hey everyone, I need to find out how to hide the VB

code
behind an Excel Workbook. Is it possible to protect it
via password? Can the code be made inaccessible to the
users? Please advise

DBAL


.

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
Hiding and protecting formula The Greek Excel Discussion (Misc queries) 1 November 21st 07 06:14 PM
Protecting and Hiding formulas Pav New Users to Excel 3 May 23rd 05 12:25 AM
Protecting buttons with VB code rather than protecting sheets/books? StargateFanFromWork Excel Programming 2 July 16th 04 04:03 PM
Hiding/Protecting the code of macro Mario[_6_] Excel Programming 6 January 15th 04 09:06 PM
Hiding/Protecting vb code in excel IanStrange Excel Programming 1 November 10th 03 10:37 AM


All times are GMT +1. The time now is 04:37 PM.

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

About Us

"It's about Microsoft Excel"