LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 62
Default 2003--2007"programatic accses to visual basic project is not trus

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.
 
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
visual basic code in 2003 vs 2007 George Applegate[_2_] Excel Discussion (Misc queries) 1 October 30th 09 05:07 PM
Programmatic access to visual basic project via Visual FoxPro Jim Rech Excel Programming 0 January 11th 07 01:53 PM
Visual Basic New Project dialog box ClemCadidlhoper Excel Programming 2 November 28th 05 06:59 PM
Registry key for "Trust access to Visual Basic project" tmarko[_13_] Excel Programming 3 June 14th 04 10:40 AM
Allow access to visual basic project netzig Excel Programming 2 February 4th 04 06:06 PM


All times are GMT +1. The time now is 09:33 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"