Protecting Functions (VBA)

  • Thread starter Thread starter Rutgers_Excels
  • Start date Start date
R

Rutgers_Excels

Frank,

Thanks for the reply.

However, when I save the user defined functions as an add-in t
someone's computer, you are still able to see the code if you go to th
VBA editor. Am I doing this incorrectly?

Also, do you know if it is possible to do the second part of m
question, which is load a macro that can be used in any spreadsheet
 
Hi
if you assign a password to the VBA project (your add-in9
and lock this project you can't see the code
 
the answer to the second part of your question is:

you could put this particular file in the XLStart folder in you
machine. it usually resides in "Program Files\Microsoft Office\Office
folder. when excel files are kept in this folder, they are loaded ever
time excel is opened. hence, any functions, macros, toolbars et a
reside in that file, also get loaded. you could record a macro t
create a toolbar, or add an icon to a toolbar and put it in this file
when this file opens by virtue of being in the XLStart folder, the men
item and/or toolbar will be created and will be accessible to any exce
file currently open
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top