Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Silly Question

Hi All

How do I stop users seeing my code?

--

Kind Regards

Mick


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,089
Default Silly Question

Mick

in the VBA, protect the Project with a password.

Tools | VBAObject Properties... | Protection tab | Lock project for viewing
| enter a password and confirm.

Regards

Trevor


"Mick Southam" wrote in message
...
Hi All

How do I stop users seeing my code?

--

Kind Regards

Mick




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Silly Question

Mick,

In the VBA editor, 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


"Mick Southam" wrote in message
...
Hi All

How do I stop users seeing my code?

--

Kind Regards

Mick




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 860
Default Silly Question

Hi Mick,

You can't stop everyone from seeing your code if you use VBA. You can
password-protect your VBA Project (via Tools | VBAProject properties,
Protection tab, check Lock project for viewing and enter a password), but
those passwords can be cracked. If you just want to stop the casual user
from seeing your code, that would suffice. Otherwise, you may want to look
into creating a DLL to encapsulate your sensitive code - then you can call
the DLL functions from VBA.

--
Regards,

Jake Marx
MS MVP - Excel
www.longhead.com

[please keep replies in the newsgroup - email address unmonitored]


Mick Southam wrote:
Hi All

How do I stop users seeing my code?


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Silly Question

Thanks everyone

Regards

Mick


"Jake Marx" wrote in message
...
Hi Mick,

You can't stop everyone from seeing your code if you use VBA. You can
password-protect your VBA Project (via Tools | VBAProject properties,
Protection tab, check Lock project for viewing and enter a password), but
those passwords can be cracked. If you just want to stop the casual user
from seeing your code, that would suffice. Otherwise, you may want to

look
into creating a DLL to encapsulate your sensitive code - then you can call
the DLL functions from VBA.

--
Regards,

Jake Marx
MS MVP - Excel
www.longhead.com

[please keep replies in the newsgroup - email address unmonitored]


Mick Southam wrote:
Hi All

How do I stop users seeing my code?




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
Percentage - How silly I feel asking this question !!! Mark Allen Excel Discussion (Misc queries) 5 November 11th 08 05:50 PM
Silly question Darrell_Sarrasin via OfficeKB.com Excel Worksheet Functions 6 May 11th 07 01:08 PM
Silly question about using dates Zerosumgame Excel Discussion (Misc queries) 5 April 1st 06 03:37 AM
This is so silly... jsc3489 Excel Worksheet Functions 3 November 10th 05 02:06 PM
Simply silly question paul Excel Programming 7 August 5th 03 11:38 PM


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