excel cannot access the file there are several possible reasons

本文提供了一种解决方案来处理Microsoft Office Excel无法访问特定文件的问题。该问题可能由文件路径不存在、文件被其他程序使用或尝试保存的工作簿名称与已打开工作簿名称相同等原因导致。通过创建指定目录并设置完全控制权限,可以有效解决这一问题。

original link

Microsoft Office Excel cannot access the file ‘c:\file.xlsx’. There are several possible reasons:
• The file name or path does not exist.
• The file is being used by another program.
• The workbook you are trying to save has the same name as a currently open workbook.

Solution

As it’s stated here, follow these 2 easy steps. Then you can go back to your normal life!

  1. Create directoryC:\Windows\SysWOW64\config\systemprofile\Desktop (for 64 bit Windows) or C:\Windows\System32\config\systemprofile\Desktop (for 32 bit Windows)
  2. Set full control permissions on Desktop directory above (for example in Win7 > IIS 7 > DefaultAppPool: set permissions for user IIS AppPool\DefaultAppPool)

 

转载于:https://www.cnblogs.com/dufu/p/7261830.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值