Closed Thread
Results 1 to 3 of 3

Code to make macro aletr VBA project.

  1. #1
    Registered User
    Join Date
    02-16-2009
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    78

    Code to make macro aletr VBA project.

    To set trust access to VB A project we do
    tick the Trust Access to Visual Basic Project box (Tools > Macro > Security, Trusted Publishers).

    Is there any way in VBA to automate this..My code should check if this unchecked , if unchecked then need to make as checked.

    Any help?

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: Code to make macro aletr VBA project.

    You cannot do this using a macro, otherwise what good would it be to even have macro security if Joe Hacker could write some code to get around the security?

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Code to make macro aletr VBA project.

    Please see #12 Forum Rule: http://www.excelforum.com/forum-rule...rum-rules.html

    This may be not be a direct request but to all intents & purposes you're attempting to circumvent XL's security system.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1