由于没有足够的可用内存或磁盘空间,Microsoft Office Excel无法打开或保存更多文档。 [英] Microsoft Office Excel cannot open or save any more documents because there is not enough available memory or disk space.

查看:872
本文介绍了由于没有足够的可用内存或磁盘空间,Microsoft Office Excel无法打开或保存更多文档。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

//使用工作表打开应用程序和工作簿

应用程序excel = new Application();

工作簿工作簿= excel.Application.Workbooks.Add(true);



执行工作簿时我收到以下错误



Microsoft Office Excel无法打开或保存任何内容更多文档,因为没有足够的可用内存或磁盘空间。

•要提供更多可用内存,请关闭不再需要的工作簿或程序。

•释放磁盘空间,从你要保存的磁盘中删除不再需要的文件。



我给予文件夹和用户权限和许可



请指导解决问题。

//Open Application & Work book with sheet
Application excel = new Application();
Workbook workbook = excel.Application.Workbooks.Add(true);

while executing the workbook i am getting the following error

Microsoft Office Excel cannot open or save any more documents because there is not enough available memory or disk space.
• To make more memory available, close workbooks or programs you no longer need.
• To free disk space, delete files you no longer need from the disk you are saving to.

I gave rights and permission for folder and user

Please guide to solve the problem.

推荐答案

对我来说这个有用:可能对其他人有用



打开开始>运行> regedit

转到HKEY_CURRENT_USER \Software \ Mysoftoft \ Windows \ CurrentVersion \Explorer \用户Shell文件夹并使用有效路径修改密钥缓存(即:C:\ Windows \\ \\ Temp)。
For me this one worked: May be useful for someone else

Open Start > Run > regedit
Go to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders and modify the key Cache with a valid path (ie: C:\Windows\Temp ).


这篇关于由于没有足够的可用内存或磁盘空间,Microsoft Office Excel无法打开或保存更多文档。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆