如何修改Excel状态栏的显示信息
时间:2022-07-14 19:44:36
在Excel VBA中,如果需要修改Excel状态栏的显示信息以方便用户的操作体验,可通过VBA修改Excel状态栏的显示信息。Excel2003可通过VBA宏修改Excel状态栏的显示信息。
修改Excel状态栏的显示信息的方法:
首先按“Alt+F11”组合键,Excel2003打开代码编辑器,单击“插入”菜单-“模块”,双击插入的模块,在右侧的代码窗口中输入:
Sub Excel_Partner()
Dim cel As Range, myRange As Range, myAddress As String
Cells.Clear
Set myRange = Sheet1.Range("A1:M500")
For Each cel In myRange
myAddress = cel.Address(RowAbsolute:=False, ColumnAbsolute:=False)
Application.StatusBar = "正在计算单元格 " & myAddress & " 的数据…"
cel.Value = cel.Value + 1
Next
Application.StatusBar = False
End Sub
按F5运行键运行程序,即可修改Excel状态栏的显示信息。
标签:信息,修改,显示,状态栏,Excel函数
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
如何解决windows 10无法使用管理员账户启动应用的问题?
2023-08-22 10:40:07
![](https://img.aspxhome.com/file/2023/1/47011_0s.png)
Word 文档的页边距怎么调整?
2022-09-23 11:30:52
![](https://img.aspxhome.com/file/2023/1/26471_0s.jpg)
Excel中OCT2BIN函数的语法和用法
2022-05-08 01:29:42
怎么设置win10虚拟内存?win10虚拟内存设置教程
2023-08-11 02:08:03
![](https://img.aspxhome.com/file/2023/5/46565_0s.png)
word2007提示以只读方式打开文件
2023-12-06 15:16:33
excel中计算平均分教程
2022-02-06 16:39:45
如何让Word运行更加快速流畅?
2022-08-13 01:07:42
excel如何通过自定义单元格格式在数字前面批量补0
2023-01-12 17:42:11
![](https://img.aspxhome.com/file/2023/8/a140358_0s.jpg)
怎么制作带有页小计的Excel数据表
2023-02-08 03:08:36
word 模板位置在哪
2022-06-02 06:51:56
![](https://img.aspxhome.com/file/2023/5/33185_0s.png)
OneNote2013中的笔记怎么分类并整理?
2023-08-02 15:32:36
![](https://img.aspxhome.com/file/2023/7/15347_0s.jpg)
Excel中使用SQL语句汇总表格
2022-01-18 18:44:42
金山WPS给重要段落加红色边框的方法
2023-11-29 11:09:32
![](https://img.aspxhome.com/file/2023/3/a163993_0s.jpg)
excel 如何实现颜色填充 如何excel表格如何填充上美丽的颜色,一起来学习吧
2022-09-22 02:44:10
![](https://img.aspxhome.com/file/2023/2/a155432_0s.png)
Excel中LCM函数的语法和用法
2022-06-28 19:32:21
![](https://img.aspxhome.com/file/2023/1/a155881_0s.png)
Word怎么输入全角符号与半角符号?
2022-07-27 03:51:58
![](https://img.aspxhome.com/file/2023/4/23924_0s.gif)
word中的网址怎么变成超链接点击即可进入网页?
2022-10-25 16:44:17
![](https://img.aspxhome.com/file/2023/0/24680_0s.jpg)
win10商店无法连接网络要怎么弄?win10商店无法连接网络解决方法?
2023-09-11 04:25:19
![](https://img.aspxhome.com/file/2023/5/47265_0s.jpg)
word文档怎么调整行距?word中行距的几种调整方法
2022-10-21 11:20:27
![](https://img.aspxhome.com/file/2023/9/24059_0s.jpg)
如何利用Excel 2010制作工资表的方法
2022-03-08 23:22:18
![](https://img.aspxhome.com/file/2023/2/a156802_0s.jpg)