ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   security warning (https://www.excelbanter.com/excel-programming/394263-security-warning.html)

Joanne

security warning
 
Is there a way to prevent the security warning box from showing up and
stopping the flow of the program without having to give up the security?
I want it to apply only to my little app, not to Excel in general.
Thank you

Ronald Dodge[_2_]

security warning
 
In that case, about the only way would be to have a digital signiture
applied to your application. I have attempted to use the self signing
method that comes with MS Office, but it has served me no purpose as I still
ran into the same issue, due to the fact that the self signing method is
still considered as "NOT" trusted. Therefore, if one is needed, you about
would need to get a digital signiture from a vendor (Certificate
Authorization) that issues such digital signitures, which is not cheap by
any means, as it can cost you something like $100 per project or might be
able to get by as small as $400 per year.

--

Sincerely,

Ronald R. Dodge, Jr.
Master MOUS 2000

"Joanne" wrote in message
...
Is there a way to prevent the security warning box from showing up and
stopping the flow of the program without having to give up the security?
I want it to apply only to my little app, not to Excel in general.
Thank you




barnabel

security warning
 
I think what you want is to put this in your macro before any command that
brings up an alert.

Application.DisplayAlerts = False


"Joanne" wrote:

Is there a way to prevent the security warning box from showing up and
stopping the flow of the program without having to give up the security?
I want it to apply only to my little app, not to Excel in general.
Thank you


Ronald Dodge[_2_]

security warning
 
I would hardly think this would work as this is a security matter and Excel
will catch any VBA stuff before it would even attempt to execute the codes,
thus the warning box would still come up prior to this code within her app
being executed.

--

Sincerely,

Ronald R. Dodge, Jr.
Master MOUS 2000

"barnabel" wrote in message
...
I think what you want is to put this in your macro before any command that
brings up an alert.

Application.DisplayAlerts = False


"Joanne" wrote:

Is there a way to prevent the security warning box from showing up and
stopping the flow of the program without having to give up the security?
I want it to apply only to my little app, not to Excel in general.
Thank you




barnabel

security warning
 
Well since she said "security warnings" and "stopping the flow" I am assuming
that she is talking about the messages that you are deleting a sheet or
overwriting a file not macros are not enabled

"Ronald Dodge" wrote:

I would hardly think this would work as this is a security matter and Excel
will catch any VBA stuff before it would even attempt to execute the codes,
thus the warning box would still come up prior to this code within her app
being executed.

--

Sincerely,

Ronald R. Dodge, Jr.
Master MOUS 2000

"barnabel" wrote in message
...
I think what you want is to put this in your macro before any command that
brings up an alert.

Application.DisplayAlerts = False


"Joanne" wrote:

Is there a way to prevent the security warning box from showing up and
stopping the flow of the program without having to give up the security?
I want it to apply only to my little app, not to Excel in general.
Thank you





XP

security warning
 
Hi Joanne,

Yes, you can. But, you would need a second loading file for distribution. If
you use automation to open an Excel file, security (and the shift key by
pass) is bypassed and all macros run like normal, even if the user has
security set to Very High.

The trick is to have a VBScript loading file that the user opens first, this
file then uses automation to open the real XL file which can be stored in a
shared area on the network. Distribute the VBScript file to the users (all
users need permission to access the shared network area) and you're done.

HTH

"Joanne" wrote:

Is there a way to prevent the security warning box from showing up and
stopping the flow of the program without having to give up the security?
I want it to apply only to my little app, not to Excel in general.
Thank you



All times are GMT +1. The time now is 01:46 AM.

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