Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 560921
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:23:43+00:00 2026-05-13T12:23:43+00:00

I have an Excel add-in I am developing that works fine in Windows XP.

  • 0

I have an Excel add-in I am developing that works fine in Windows XP. However, I just got a hold of Windows 7 Professional and now I cannot save this add-in, either manually from the VBA Editor or programmatically using ThisWorkbook.Save.

The error message says

“Micrsosoft Office Excel cannot access the file ‘C:\Program Files\Microsoft Office\Office 12\LIBRARY[some random 8-character string rather than the name of my add-in]”.

One of this dialog error’s possible explanations is that “The file name or path does not exist”. Well, of course it doesn’t.

I tried turning off read-only on the add-in file and its directory, as well as “Unblocking” the file (seems to be a new Windows 7 feature) using the Properties dialogs, but to no avail.

How do I get this basic save functionality to work in Windows 7?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T12:23:43+00:00Added an answer on May 13, 2026 at 12:23 pm

    I’m guessing this is the UAC behaviour of Windows that was introduced in Vista, and is still in Windows 7.

    Have a look at this Microsoft page for a user perspective, and this MSDN one for an idea of how to program with it in mind.

    In summary, you can’t write to Program Files without asking for elevation if you have UAC on.

    (Edit: couple of extra points raised by the comments)
    If this is just for development, you can run Excel using right click->’Run as Administrator’, which will let you save where you want, or you can save in %AppData%\Microsoft\Addins, which is also a trusted location (see this MSDN article for more details of that).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an Excel add-in that I developed using Excel 2007 SDK, it works
I am developing a C# add in for Excel (using VSTO tools). I have
I have an excel add-in that keeps coming back when I start excel, even
I have an Excel Automation Add-in that is registered with COM by my installer.
Assume I have an Excel add-in called test.xlam that contains this procedure: Sub TestAbb()
I have an Excel 2003 add-in deployed in one of our departments that occasionally
I have created an excel add-in that allows data to be downloaded into any
I have an Excel VSTO Add-in that is not installing on one of my
I have a solution in VS2010 that was developed as an Excel 2007 add-in.
I am new to Active Directory. I have a VBA Excel Add-In that should

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.