Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Please help me that I had wroten a macro in excel file.
When the macro run on the Windows 2000 platform, it has not any error. But when it run on Windows XP platform, the message box will be displayed "Programmatic Access to be Denied" and need to click the "continue" button to continue to run the program. How can I set the option to omit this alert box in excel when running the macro in Windows XP? Thanks a lot. Best Regards, Stephen Fong. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() "Stephen Fong" wrote in message ... Please help me that I had wroten a macro in excel file. When the macro run on the Windows 2000 platform, it has not any error. But when it run on Windows XP platform, the message box will be displayed "Programmatic Access to be Denied" and need to click the "continue" button to continue to run the program. How can I set the option to omit this alert box in excel when running the macro in Windows XP? You need to go in to Excel in XP and 1) On the Tools menu, click Macro, and then click Security to open the Macro Security dialog box. 2) On the Trusted Sources tab, click to select the Trust access to Visual Basic Project check box to turn on access. 3) Click OK to apply the setting. You may need to restart the application for the code to run properly if you automate from a Component Object Model (COM) add-in or template. Keith |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Keith,
I had try to set the setting in Excel but it still doesn't work. Does it miss any COM add-in in the program that is different in Windows 2000? Please advise. Thanks. Best Regards, Stephen Fong. -----Original Message----- "Stephen Fong" wrote in message ... Please help me that I had wroten a macro in excel file. When the macro run on the Windows 2000 platform, it has not any error. But when it run on Windows XP platform, the message box will be displayed "Programmatic Access to be Denied" and need to click the "continue" button to continue to run the program. How can I set the option to omit this alert box in excel when running the macro in Windows XP? You need to go in to Excel in XP and 1) On the Tools menu, click Macro, and then click Security to open the Macro Security dialog box. 2) On the Trusted Sources tab, click to select the Trust access to Visual Basic Project check box to turn on access. 3) Click OK to apply the setting. You may need to restart the application for the code to run properly if you automate from a Component Object Model (COM) add-in or template. Keith . |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() "Stephen Fong" wrote in message ... Hi Keith, I had try to set the setting in Excel but it still doesn't work. Does it miss any COM add-in in the program that is different in Windows 2000? Please advise. Thanks. Best Regards, Stephen Fong. Not as far as I know. I got that problem when trying to manipulate the VBA in the Excel 2002 worksheet from a VB6 program. There's a separate security tab to trus com add-ins. Keith |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
excel displays "l" instead of "‚¬" symbol for Euro values | Excel Discussion (Misc queries) | |||
ACCESS ="NO" BUT EXCEL DISPLAYS "0" | Excel Discussion (Misc queries) | |||
"access denied" message when open Excel, MS 2007 | Excel Discussion (Misc queries) | |||
I get "Access Denied" trying to open network files. | Excel Discussion (Misc queries) | |||
How do I recover from "Access Denied" in Excel? | Excel Discussion (Misc queries) |