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: 553
Default Excel 2007 and Trusted Publishers

I have an xla Addin with a line of code as follows below. This was written
to accomodate Excel 2003.

I know in Excel 2007 I have to go to Office Button/Excel Options/Trust
Center/Trust Center Settings. However I am not sure what do when I get here.
I have tried adding the Addin as a Trust location and allowing its
subfolders. However this does not work. I keep getting the error message.

Set Ref1 = ThisWorkbook.VBProject.References("Excel")
If Ref1 Is Nothing Then
MsgBox ("Note that you do not have Trust Access to Visual Basic
clicked on under your security tab. Go to Tools/Macros/Security/Trusted
Publishers and click this on. Then re-run this audit option.")
Unload MainUserForm
Exit Sub
Else
'do something
End if
 
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
Trusted publishers PeterNL Excel Discussion (Misc queries) 0 February 17th 10 05:14 PM
A question about Trusted Publishers... IT_roofer Excel Programming 1 July 24th 07 03:44 PM
changing "trusted publishers" via vba thread Excel Programming 2 November 20th 06 07:57 AM
Configuring Excel 2003 to control access to Trusted Publishers [email protected] Excel Discussion (Misc queries) 0 July 10th 06 09:04 AM
Configuring Excel 2003 to control access to Trusted Publishers [email protected] Excel Programming 0 July 7th 06 11:58 AM


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

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"