Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to protect some specific module in VBA project?
As we know, we can protect the whole VBA project. but if i want to protect
one or two modules in a VBA project. How to do so? thanks! |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to protect some specific module in VBA project?
Put them in a separate file ?
Tim "iop" wrote in message ... As we know, we can protect the whole VBA project. but if i want to protect one or two modules in a VBA project. How to do so? thanks! |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to protect some specific module in VBA project?
there are some common functions and procedures in my module, and now, i want
to protect this module. if i put them in another separate file, can i call the functions and procedures easily and efficiently? i've no idea of this. thanks!! "Tim Williams" wrote: Put them in a separate file ? Tim "iop" wrote in message ... As we know, we can protect the whole VBA project. but if i want to protect one or two modules in a VBA project. How to do so? thanks! |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to protect some specific module in VBA project?
You could set a reference to your other file (make it an addin) and call
procedures directly. Otherwise you maybe able to use Application.Run for your needs. Note you cannot pass objects, arguments are byVal. Functions can return values or an array, but not an object. If need to handle objects, pass names or index's with as much qualification as needs. Regards, Peter T "iop" wrote in message ... there are some common functions and procedures in my module, and now, i want to protect this module. if i put them in another separate file, can i call the functions and procedures easily and efficiently? i've no idea of this. thanks!! "Tim Williams" wrote: Put them in a separate file ? Tim "iop" wrote in message ... As we know, we can protect the whole VBA project. but if i want to protect one or two modules in a VBA project. How to do so? thanks! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Works in module but not in project | Excel Programming | |||
when to use a module & when to use a project | Excel Programming | |||
Import module in protected project? | Excel Programming | |||
Module Names within a Project | Excel Programming | |||
Remove VBA Project module | Excel Programming |