如何查询Excel内存信息
时间:2022-07-05 18:13:42
在Excel VBA中,如果需要查询Excel内存信息以方便用户的操作,可通过VBA查询Excel内存信息:总内存、使用内存、剩余内存。Excel2003可通过VBA宏查询Excel内存信息。
查询Excel内存信息的方法:
首先按“Alt+F11”组合键,Excel2003打开代码编辑器,单击“插入”菜单-“模块”,双击插入的模块,在右侧的代码窗口中输入:
Sub Excel_Partner()
MsgBox "Excel当前总内存为:" & Application.MemoryTotal _
& vbCrLf & "Excel当前使用内存为:" & Application.MemoryUsed _
& vbCrLf & "Excel当前剩余内存为:" & Application.MemoryFree, vbInformation
End Sub
按F5运行键运行程序,返回当前系统下Excel内存信息。
标签:信息,内存,可通过,查询,Excel函数
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
为什么Win10开机会提示“登录组件错误[4] 请重新启动电脑管家”?
2023-11-13 16:26:36
![](https://img.aspxhome.com/file/2023/9/49199_0s.jpg)
Word2016标题下方怎么显示横线? word标题下方加横线的教程
2022-10-18 18:30:34
![](https://img.aspxhome.com/file/2023/4/30624_0s.jpg)
excel2016官方版怎么设置/取消表格打印区域?
2022-08-03 01:19:48
![](https://img.aspxhome.com/file/2023/1/36611_0s.jpg)
在excel中如何设置退出删除vba工具栏
2022-11-05 13:10:39
![](https://img.aspxhome.com/file/2023/0/a153550_0s.png)
Word如何接受修订或拒绝修订
2023-08-25 11:01:04
![](https://img.aspxhome.com/file/2023/9/31769_0s.png)
如何更改Mac Office 2011的Word的默认文档?
2023-03-26 07:26:37
word无法启动转换器怎么办
2023-11-14 15:16:30
Word2013如何使用快捷键快速打开应用程序
2023-11-29 16:35:45
![](https://img.aspxhome.com/file/2023/3/18323_0s.jpg)
联想笔记本安装原版Win10系统无法识别固态硬盘怎么办?
2023-11-23 02:08:28
![](https://img.aspxhome.com/file/2023/5/50515_0s.jpg)
点击数据标记选项
2022-03-11 16:48:38
wps表格中如何设置允许后台检查错误
2023-07-28 04:49:07
![](https://img.aspxhome.com/file/2023/9/53599_0s.jpg)
excel2003定义名称的方法
2022-02-24 11:49:17
7 个 Word 小技巧,能够让你在制作和排版文档时如有神助
2023-11-10 02:35:09
![](https://img.aspxhome.com/file/2023/9/17169_0s.gif)
Excel表格中进行乘法计算的操作方法
2022-11-15 09:40:59
Excel用图表显示被遗忘的数据条
2022-12-22 13:27:51
![](https://img.aspxhome.com/file/2023/5/37635_0s.jpg)
如何对 excel 分页符进行调整
2023-05-27 08:10:34
![](https://img.aspxhome.com/file/2023/7/a154457_0s.png)
如何使用word制作班级座位表 word制作班级座位表的方法
2022-07-18 02:09:08
Win10无权访问文件夹怎么办?Win10无权访问文件夹的解决方法
2023-04-13 21:17:56
![](https://img.aspxhome.com/file/2023/5/52495_0s.jpg)
为什么打开一个EXCEL会新建一个?
2023-01-07 01:42:58
![](https://img.aspxhome.com/file/2023/7/36417_0s.jpg)
Excel表格怎么制作描红字帖? excel描红本的做法
2023-07-19 03:50:14
![](https://img.aspxhome.com/file/2023/9/39949_0s.png)