Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi,
i got the following message:"programatic accses to visual basic project is not trusted "when i'm running macro in excel 2007. the same macro run on the same file in 2003 without any error. the code is: For Each x In Application.VBE.ActiveVBProject.VBComponents .... please advice . i need the code to work in both environments. thanks. -- Miri Tz. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Enable Trust in the Trust Center (in Excel Options). This isn't a new
setting so you must have done this in Excel 2003 too. -- Jim "Miri" wrote in message ... | hi, | i got the following message:"programatic accses to visual basic project is | not trusted "when i'm running macro in excel 2007. | the same macro run on the same file in 2003 without any error. | | the code is: | For Each x In Application.VBE.ActiveVBProject.VBComponents | ... | | please advice . | i need the code to work in both environments. | thanks. | -- | Miri Tz. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
visual basic code in 2003 vs 2007 | Excel Discussion (Misc queries) | |||
Programmatic access to visual basic project via Visual FoxPro | Excel Programming | |||
Visual Basic New Project dialog box | Excel Programming | |||
Registry key for "Trust access to Visual Basic project" | Excel Programming | |||
Allow access to visual basic project | Excel Programming |