uac crashes excel macro


  1. Posts : 96
    Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
       #1

    uac crashes excel macro


    Hi,

    I am having a problem when I try to run an excel macro addin (ie vba functions) that calculates some statistics, it doesn't work. Shows permission denied.


    When I turn off UAC, It works.

    Is there any fix for this?
    Turn UAC on and off is too annoying...cos u need to reboot each time.
      My Computer


  2. Posts : 31,250
    Windows 11 Pro x64 [Latest Release and Release Preview]
       #2

    First thing I would do is to check the access permissions on the folder containing the macro - It could simply be a case that the macro is located in a folder that requires elevated rights to access - this is the case with anything in the Program Folders Tree.

    If you give the actual user full rights to either the folder or the file It may cure the issue.

    It may of course be something else depending on the actual macro code but this is worth an initial investigation :)
      My Computers


  3. Posts : 96
    Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
    Thread Starter
       #3

    it's a .xla excel addin, which I installed via office 2003 addin option..

    so I guess it would copy it to the addin folder in office..

    with it's default priviledges

    I can send you the addin and you can test it out..
    if you figure a solution it would be good.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 20:38.
Find Us