#1   Report Post  
nc
 
Posts: n/a
Default Protect Macros

Hi

How can I protect macros for a workbook without
protecting the workbook/worksheet?

Thanks
  #2   Report Post  
Harald Staff
 
Posts: n/a
Default

Hi

Open the VB editor. Undert Tools menu there's a "project properties" item
and there you'll find a "Protection" window.

HTH. Best wishes Harald

"nc" skrev i melding
...
Hi

How can I protect macros for a workbook without
protecting the workbook/worksheet?

Thanks



  #3   Report Post  
nc
 
Posts: n/a
Default

Thanks Harald


-----Original Message-----
Hi

Open the VB editor. Undert Tools menu there's a "project

properties" item
and there you'll find a "Protection" window.

HTH. Best wishes Harald

"nc" skrev i

melding
...
Hi

How can I protect macros for a workbook without
protecting the workbook/worksheet?

Thanks



.

  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default

Be aware though, it is not foolproof, it is easily broken.

--

HTH

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


"nc" wrote in message
...
Thanks Harald


-----Original Message-----
Hi

Open the VB editor. Undert Tools menu there's a "project

properties" item
and there you'll find a "Protection" window.

HTH. Best wishes Harald

"nc" skrev i

melding
...
Hi

How can I protect macros for a workbook without
protecting the workbook/worksheet?

Thanks



.



  #5   Report Post  
nc
 
Posts: n/a
Default

Thanks.

Once it is locked in properties, can it only be locked by
closing and reopening the file?

-----Original Message-----
Be aware though, it is not foolproof, it is easily

broken.

--

HTH

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


"nc" wrote in

message
...
Thanks Harald


-----Original Message-----
Hi

Open the VB editor. Undert Tools menu there's

a "project
properties" item
and there you'll find a "Protection" window.

HTH. Best wishes Harald

"nc" skrev i

melding
...
Hi

How can I protect macros for a workbook without
protecting the workbook/worksheet?

Thanks


.



.



  #6   Report Post  
Bob Phillips
 
Posts: n/a
Default

No, when you go into the VBE and try and access the project, it will prompt
for the password.

It gets broken at the file level, not in the VBE. It will deter casual
lookers.

--

HTH

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


"nc" wrote in message
...
Thanks.

Once it is locked in properties, can it only be locked by
closing and reopening the file?

-----Original Message-----
Be aware though, it is not foolproof, it is easily

broken.

--

HTH

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


"nc" wrote in

message
...
Thanks Harald


-----Original Message-----
Hi

Open the VB editor. Undert Tools menu there's

a "project
properties" item
and there you'll find a "Protection" window.

HTH. Best wishes Harald

"nc" skrev i
melding
...
Hi

How can I protect macros for a workbook without
protecting the workbook/worksheet?

Thanks


.



.



  #7   Report Post  
Marc
 
Posts: n/a
Default

Does it makes complicated to broken if you enter password with 20 words, for
example: tv5kZsP8767hj;%j#L

Thanks


  #8   Report Post  
Fredrik Wahlgren
 
Posts: n/a
Default


"Bob Phillips" wrote in message
...
No, when you go into the VBE and try and access the project, it will

prompt
for the password.

It gets broken at the file level, not in the VBE. It will deter casual
lookers.

--


If you want a higher level of protection, you can make a COM add-in using
VB6 or a .NET language. How much protection do you feel is necessary. Whom
do you want to protect your code from?

/Fredrik


  #9   Report Post  
Bob Phillips
 
Posts: n/a
Default

No, because when you break it you don't even see (or care) about what the
original password was.

--

HTH

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


"Marc" wrote in message
...
Does it makes complicated to broken if you enter password with 20 words,

for
example: tv5kZsP8767hj;%j#L

Thanks




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
sharing macros fabulousk Excel Discussion (Misc queries) 3 March 7th 05 10:05 PM
Enabling macros Peter M Excel Discussion (Misc queries) 3 February 7th 05 10:57 PM
sorting with macros Sorting in macros Excel Discussion (Misc queries) 1 February 1st 05 09:02 AM
Transferring toolbars and macros to other computers Darrell Excel Discussion (Misc queries) 1 January 19th 05 12:21 AM
The available macros list in XL; how to suppress filename from showing KR Excel Discussion (Misc queries) 1 January 10th 05 07:20 PM


All times are GMT +1. The time now is 06:43 AM.

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"