ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   make macro "invisible" to end-users? (https://www.excelbanter.com/excel-programming/371558-make-macro-invisible-end-users.html)

Daves

make macro "invisible" to end-users?
 
I have a Workbook where I use a macro to finalise some data. The 30 or so
users who read my Workbook never run or need any kind of access to the
macro. I want to be able to have this macro at hand while editing the
workbook but somehow "remove" it or make invisible to my users since they
will see the security warning as rather offensive.

How can I do this?



Naveen

make macro "invisible" to end-users?
 
- right click on your workbook in "Project Explorer" in VBA window
- Click "VBAProject Properties"
- Select "Protection" tab
- Check "Lock project for viewing"
- Type a password

*** Please do rate ***

"Daves" wrote:

I have a Workbook where I use a macro to finalise some data. The 30 or so
users who read my Workbook never run or need any kind of access to the
macro. I want to be able to have this macro at hand while editing the
workbook but somehow "remove" it or make invisible to my users since they
will see the security warning as rather offensive.

How can I do this?




Nigel

make macro "invisible" to end-users?
 
add the statement to the top of the module

Option Private Module

Macros in that module would not be seen from the Macro run list

--
Cheers
Nigel



"Daves" wrote in message
...
I have a Workbook where I use a macro to finalise some data. The 30 or so
users who read my Workbook never run or need any kind of access to the
macro. I want to be able to have this macro at hand while editing the
workbook but somehow "remove" it or make invisible to my users since they
will see the security warning as rather offensive.

How can I do this?




Bob Phillips

make macro "invisible" to end-users?
 
If you are asking how to remove the Macros Enabled warning when the workbook
is opened, there area few ways

- reduce the security setting to Low (not advised)
- add a digital signature to your project.

Other than that, you are stuck with it.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Daves" wrote in message
...
I have a Workbook where I use a macro to finalise some data. The 30 or so
users who read my Workbook never run or need any kind of access to the
macro. I want to be able to have this macro at hand while editing the
workbook but somehow "remove" it or make invisible to my users since they
will see the security warning as rather offensive.

How can I do this?





Ed

make macro "invisible" to end-users?
 
Instead of having the macro in the workbook you send out, why not put it
into your Personal.xls and have it act on the workbook? That way you are
not sending out a workbook with macros in it.

Ed

"Daves" wrote in message
...
I have a Workbook where I use a macro to finalise some data. The 30 or so
users who read my Workbook never run or need any kind of access to the
macro. I want to be able to have this macro at hand while editing the
workbook but somehow "remove" it or make invisible to my users since they
will see the security warning as rather offensive.

How can I do this?




Daves

make macro "invisible" to end-users?
 
excactly, that's what I needed. Thanks!

"Ed" wrote in message
...
Instead of having the macro in the workbook you send out, why not put it
into your Personal.xls and have it act on the workbook? That way you are
not sending out a workbook with macros in it.

Ed

"Daves" wrote in message
...
I have a Workbook where I use a macro to finalise some data. The 30 or so
users who read my Workbook never run or need any kind of access to the
macro. I want to be able to have this macro at hand while editing the
workbook but somehow "remove" it or make invisible to my users since they
will see the security warning as rather offensive.

How can I do this?







All times are GMT +1. The time now is 12:50 AM.

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