Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 47
Default Display Msg box on open "before" MS Macro Security warning display

I have tried the suggestions mentioned but the MS Macro Security Warning
"always" displays first.

I want to display a message box to the user on open "before" the MS macro
warning displays to remind them to answer yes to the MS macro warning rather
than have them restart Excel because they forgot to click yes.

Any luck in beating MS to the punch here?

Thanks
Jack
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default Display Msg box on open "before" MS Macro Security warning display

You need to run code to display a message box or userform; the macro security
warning is designed to prevent code from running without authorizing it
first. Sorry.

"Jack_Feeman" wrote:

I have tried the suggestions mentioned but the MS Macro Security Warning
"always" displays first.

I want to display a message box to the user on open "before" the MS macro
warning displays to remind them to answer yes to the MS macro warning rather
than have them restart Excel because they forgot to click yes.

Any luck in beating MS to the punch here?

Thanks
Jack

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Display Msg box on open "before" MS Macro Security warning display

In xl2000 or later, you would need to certify your project and have the user
accept you as a trusted source.

An alternative would be to put your code in an addin and have the user load
the addin.

--
Regards,
Tom Ogilvy

"Jack_Feeman" wrote in message
...
I have tried the suggestions mentioned but the MS Macro Security Warning
"always" displays first.

I want to display a message box to the user on open "before" the MS macro
warning displays to remind them to answer yes to the MS macro warning

rather
than have them restart Excel because they forgot to click yes.

Any luck in beating MS to the punch here?

Thanks
Jack



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,071
Default Display Msg box on open "before" MS Macro Security warning display

Hi Tom,

XL2003 will not trust a self-signed certificate on a machine that lacks
the private key for that certificate -- something that should be
present only on the machine that created the certificate.

Only third party certificates (read several hundred $$ each year for
individuals) work.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

In article ,
says...
In xl2000 or later, you would need to certify your project and have the user
accept you as a trusted source.

An alternative would be to put your code in an addin and have the user load
the addin.


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 47
Default Display Msg box on open "before" MS Macro Security warning dis

Thanks everyone for the input. It is what I figured. Was just hoping someone
knew how to tap into the macro warning message to amend it to read "by not
selecting OK" the template will not work or similar message. I was trying to
help new users to understand saying no would make the template unusable. So I
will have to display this information in the instructions (who reads them
anyway?) for the template. Thanks again all.
Jack

"Tushar Mehta" wrote:

Hi Tom,

XL2003 will not trust a self-signed certificate on a machine that lacks
the private key for that certificate -- something that should be
present only on the machine that created the certificate.

Only third party certificates (read several hundred $$ each year for
individuals) work.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

In article ,
says...
In xl2000 or later, you would need to certify your project and have the user
accept you as a trusted source.

An alternative would be to put your code in an addin and have the user load
the addin.





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Display Msg box on open "before" MS Macro Security warning display

Thanks for the added - I assume this is added info as I didn't mention using
self-cert which is what I think you are referring to. But there wouldn't be
any reason to suppress the prompt unless they were making the big commercial
dollars distributing their application or doing it for their equally
prosperous business.

for the OP. the usual suggestion if you don't fit in the above, is to hide
your sheets and have your macro unhide them (all but one with a message that
macros need to be enabled). Also, your macro has to hide them in the
beforeclose and beforesave events (and save the workbook) in preparation
for the next opening. the disadvantage being that when workbook users screw
up, a lot of time they want close the workbook without saving.

--
Regards,
Tom Ogilvy

"Tushar Mehta" wrote in message
om...
Hi Tom,

XL2003 will not trust a self-signed certificate on a machine that lacks
the private key for that certificate -- something that should be
present only on the machine that created the certificate.

Only third party certificates (read several hundred $$ each year for
individuals) work.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

In article ,
says...
In xl2000 or later, you would need to certify your project and have the

user
accept you as a trusted source.

An alternative would be to put your code in an addin and have the user

load
the addin.




  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default Display Msg box on open "before" MS Macro Security warning dis

I know - I feel your pain. The MS written Macro warning is (IMHO) fairly
typically written in language that only the experienced geek like me would
understand; to the typical user it is unintelligible and scary and the
natural tendency is to want to say no, don't let these dangerous things
happen on my computer! I work at a hospital, I develop data analysis tools
that I distribute for nursing directors, etc. to use, and often they are only
used monthly or quarterly - too infrequently for them to remember what the
message means or how to respond. Or (adding to the fun) sometimes our MIS
people will push down something through the network that resets all the Excel
default settings, including setting macro security to high so the prompt
doesn't even show. I just love those calls... "I pushed the button, but
nothing happened! What do I do?" "Well, see your Tools menu... That's up at
the top of the screen. No, up near where it says...."

Hey, gotta vent every now and then! At least you folks will understand!
K Dales

"Jack_Feeman" wrote:

Thanks everyone for the input. It is what I figured. Was just hoping someone
knew how to tap into the macro warning message to amend it to read "by not
selecting OK" the template will not work or similar message. I was trying to
help new users to understand saying no would make the template unusable. So I
will have to display this information in the instructions (who reads them
anyway?) for the template. Thanks again all.
Jack

"Tushar Mehta" wrote:

Hi Tom,

XL2003 will not trust a self-signed certificate on a machine that lacks
the private key for that certificate -- something that should be
present only on the machine that created the certificate.

Only third party certificates (read several hundred $$ each year for
individuals) work.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

In article ,
says...
In xl2000 or later, you would need to certify your project and have the user
accept you as a trusted source.

An alternative would be to put your code in an addin and have the user load
the addin.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I get rid of that "security warning" at top of Exel sheet Gerald Excel Worksheet Functions 3 November 21st 08 12:51 AM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
How do I change the column heading in Excel to display "A" "B" "C Thai New Users to Excel 1 November 30th 07 08:06 PM
"Turn "record macro" display on. greaseman Excel Discussion (Misc queries) 2 April 28th 06 05:58 PM
How to change the font of Display window of "Open File" Windows Font Excel Discussion (Misc queries) 0 January 6th 06 03:10 AM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"