ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   protect marco (https://www.excelbanter.com/excel-discussion-misc-queries/168154-protect-marco.html)

Wu

protect marco
 
I have a file contains some marco which dont want to be read by other person.

How can I set the marco unread?

Steve[_9_]

protect marco
 
On 2 Dec, 12:17, Wu wrote:
I have a file contains some marco which dont want to be read by other person.

How can I set the marco unread?


you need to set a password in the VB projects window.

Alt - F11, Tools , VBAproject Properties, Protection and make sure the
'Lock project for viewing' has a tick


Steve

Don Guillett

protect marco
 
To make it unseeable use
Private Sub mysub()
or option private module as the first line in the module
Be aware that it is fairly easy for anyone with knowledge to break your
password.
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Steve" wrote in message
...
On 2 Dec, 12:17, Wu wrote:
I have a file contains some marco which dont want to be read by other
person.

How can I set the marco unread?


you need to set a password in the VB projects window.

Alt - F11, Tools , VBAproject Properties, Protection and make sure the
'Lock project for viewing' has a tick


Steve




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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com