Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default Protect VBA codes

How can i protect VBA codes from modifications and viewing using macros?
Currently i can only protect the codes by going to the VBA properties.
However, i am using macro to generate multiple excel files with modules and i
need to protect the excel file's module...is there any way to be done? like
coding ..etc?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 863
Default Protect VBA codes

No, you have to do it manually. Wouldn't the virus writers love it if it were
otherwise?


On Sun, 30 Jan 2005 20:01:01 -0800, "Shirley"
wrote:

How can i protect VBA codes from modifications and viewing using macros?
Currently i can only protect the codes by going to the VBA properties.
However, i am using macro to generate multiple excel files with modules and i
need to protect the excel file's module...is there any way to be done? like
coding ..etc?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default Protect VBA codes

sob sob...does it mean that there is no other way??

"Myrna Larson" wrote:

No, you have to do it manually. Wouldn't the virus writers love it if it were
otherwise?


On Sun, 30 Jan 2005 20:01:01 -0800, "Shirley"
wrote:

How can i protect VBA codes from modifications and viewing using macros?
Currently i can only protect the codes by going to the VBA properties.
However, i am using macro to generate multiple excel files with modules and i
need to protect the excel file's module...is there any way to be done? like
coding ..etc?



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Protect VBA codes

HI,

you can do it but the only way to do so is using the SendKeys method

So long

Shirley a écrit :
sob sob...does it mean that there is no other way??

"Myrna Larson" wrote:


No, you have to do it manually. Wouldn't the virus writers love it if it were
otherwise?


On Sun, 30 Jan 2005 20:01:01 -0800, "Shirley"
wrote:


How can i protect VBA codes from modifications and viewing using macros?
Currently i can only protect the codes by going to the VBA properties.
However, i am using macro to generate multiple excel files with modules and i
need to protect the excel file's module...is there any way to be done? like
coding ..etc?



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
GL Codes Jonny54321 Excel Worksheet Functions 1 May 14th 09 05:08 AM
Protect Workbook Vs Protect Sheet Poor_pakistani New Users to Excel 4 May 25th 06 02:06 PM
Can I protect columns w/in a "List" using Protect Sheet? Diane Excel Discussion (Misc queries) 0 May 10th 06 03:30 PM
Lock and protect cells without protect the sheet Christian[_7_] Excel Programming 6 December 28th 04 04:50 PM
Zip Codes [email protected] Excel Discussion (Misc queries) 10 November 27th 04 05:23 PM


All times are GMT +1. The time now is 03:42 AM.

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"