ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   changing "trusted publishers" via vba (https://www.excelbanter.com/excel-programming/377706-changing-trusted-publishers-via-vba.html)

thread

changing "trusted publishers" via vba
 
Hi all,
I'm trying to make a change in the macro security via vba,
i know that there is an option like this in access for hide or show the
toolbar
all i need to do is
enter "tool"
go to "macro"
"then "security
choose and "trusted publishers" tab
and "check" or "uncheck" the "Trust Access To Visual Basic Project

any ideas?


Robin Hammond[_3_]

changing "trusted publishers" via vba
 
For good reason, it can't be done.

You might be able to do something through sendkeys, but I have not tried it,
and would be very annoyed if someone did try it on my machine through code.

Robin Hammond
www.enhanceddatasystems.com


"thread" wrote in message
ps.com...
Hi all,
I'm trying to make a change in the macro security via vba,
i know that there is an option like this in access for hide or show the
toolbar
all i need to do is
enter "tool"
go to "macro"
"then "security
choose and "trusted publishers" tab
and "check" or "uncheck" the "Trust Access To Visual Basic Project

any ideas?




thread

changing "trusted publishers" via vba
 
unfortunately the use of sendkey for this metter is an optional,it is
working as i wanted but i prefer to have a normal member/controls
procedure instead
i have an example of something close
CommandBars("Menu Bar").Controls("Tools").Controls("Database
utilities").Controls("Compact and repair
database...").accDoDefaultAction

Robin Hammond лъб:
For good reason, it can't be done.

You might be able to do something through sendkeys, but I have not tried it,
and would be very annoyed if someone did try it on my machine through code.

Robin Hammond
www.enhanceddatasystems.com


"thread" wrote in message
ps.com...
Hi all,
I'm trying to make a change in the macro security via vba,
i know that there is an option like this in access for hide or show the
toolbar
all i need to do is
enter "tool"
go to "macro"
"then "security
choose and "trusted publishers" tab
and "check" or "uncheck" the "Trust Access To Visual Basic Project

any ideas?




All times are GMT +1. The time now is 08:14 AM.

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