PC Review


Reply
Thread Tools Rate Thread

2003-->2007"programatic accses to visual basic project is not trus

 
 
=?Utf-8?B?TWlyaQ==?=
Guest
Posts: n/a
 
      13th Aug 2007
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 With Quote
 
 
 
 
Jim Rech
Guest
Posts: n/a
 
      13th Aug 2007
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" <(E-Mail Removed)> wrote in message
news:C7173839-14E7-4EC6-8DD8-(E-Mail Removed)...
| 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 With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Trust Access to Visual Basic Project" checked but getting error 6 AsimHussain Microsoft Excel Programming 0 6th May 2009 03:59 PM
How can I verify if "Trust access to visual basic project" is chec MikeZz Microsoft Excel Programming 2 28th Jul 2008 10:25 PM
Lost Visual Basic project in Excel 2003 =?Utf-8?B?bWFrY2Ft?= Microsoft Excel Crashes 1 9th Mar 2005 06:44 PM
running visual basic project using access 2003 =?Utf-8?B?dG9tZw==?= Microsoft Access 6 16th Dec 2004 02:57 PM
Visual Basic.net 2003 Standard Add-in project =?Utf-8?B?TWljaGFlbCBDZXJ2YW50ZXM=?= Microsoft Dot NET 0 26th Jun 2004 12:53 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:33 PM.