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 Excel add-in which I add so many class modules that it is
I have created an Excel 2003 add-in that uses the CLR 2.0 and this
I've created an excel sheet with Delphi 6. Now I have to add a
I have create an Excel Add-In. In that add-in are some modules and let's
We have an Excel 2002/XP based application that interacts with SQL 2000/5 to process
I have an excel file which has more than 65536 rows. However, I can
I have an Excel 2003 workbook that contains a macro to copy certain of
I have Excel 2007 and Windows XP When this code runs: Columns(A:G).Select ActiveWorkbook.Worksheets(Sheet1).Sort.SortFields.Clear ActiveWorkbook.Worksheets(Sheet1).Sort.SortFields.Add
I've found this excel add-in to buy that appears to do what I need,
I have an excel with 8 columns. I'm trying to add a new column

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.