Excel自动生成九九乘法表?
时间:2023-04-29 02:04:08
代码:
Sub 生成九九乘法表()
Dim Rs As Byte, Cs As Byte, Arr As Variant
ReDim Arr(1 To 9, 1 To 9)
For Rs = 1 To 9
For Cs = 1 To 9
If Rs >= Cs Then
Arr(Rs, Cs) = Rs & “ד & Cs & “=“ & Rs * Cs
End If
Next Cs
Next Rs
Range(“B2“).Resize(9, 9).Value = Arr
Call FC(Range(“B2“).Resize(9, 9))
End Sub
Sub FC(Rng As Range)
With Rng
.FormatConditions.Delete
.FormatConditions.Add Type:=xlExpression, Formula1:=“=LEN(“ & Rng.Cells(1).Address(0, 0) & “)>0“
.FormatConditions(1).Borders.LineStyle = xlContinuous
End With
End Sub
想看更多Excel教程和公式,敬请耐性关注excel后期分享更多的学习内容或者在网站留下您的困难,支持excel学习网一定不会让你失望:
Excel插件是什么?
Excel插件就是一种依附在Excel软件上的无敌通关神器。一般用户需要N步才完成的操作,但现在可只需点一下菜单立马完成。这样不仅极大幅度减少学习复杂技术和用户操作的时间从而提高效率。Excel插件还可根据用户需求自定义修改,是重复操作的工作必备通过神器。
标签:Excel自动生成九九乘法表
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
在Word2010公式中添加字母类符号
2023-12-13 23:14:01
![](https://img.aspxhome.com/file/2023/7/21607_0s.jpg)
y) 这个DATEDIF函数比较怪
2023-02-24 06:30:26
win8无线网络无法连接怎么办级解决方法
2023-07-06 14:28:45
![](https://img.aspxhome.com/file/2023/29/a256333_0s.jpg)
Office制作的PPT转成Word文档的两种方法
2023-05-24 18:14:53
win8资源管理器ribbon界面功能介绍
2023-01-30 15:30:27
![](https://img.aspxhome.com/file/2023/3/a292823_0s.jpg)
解决Word2007文档无法另存为PDF格式的方法
2022-04-30 07:27:11
必备的计算机_windows7系统 安全保护十一个常识
2022-12-21 17:08:29
![](https://img.aspxhome.com/file/2023/27/a234515_0s.jpg)
Win10怎么永久删除文件 Win10永久删除快捷键是什么
2022-08-24 16:52:20
![](https://img.aspxhome.com/file/2023/29/a260962_0s.jpg)
Win7系统优酷客户端网络错误怎么解决?
2022-10-04 12:38:18
![](https://img.aspxhome.com/file/2023/27/a230190_0s.jpg)
如何在excel中插入公式?在excel中写公式方法介绍
2022-05-06 09:15:10
![](https://img.aspxhome.com/file/2023/5/42475_0s.jpg)
PD虚拟机教程:如何在PD虚拟机中启用自动图形切换功能?
2022-11-25 08:45:59
![](https://img.aspxhome.com/file/2023/9/a202449_0s.jpeg)
Win10电脑改装win7后进不了系统怎么办?
2023-12-13 00:04:36
![](https://img.aspxhome.com/file/2023/1/51561_0s.png)
如何在wps表中计算除法
2023-07-08 08:41:38
![](https://img.aspxhome.com/file/2023/3/a170403_0s.jpg)
Windows10如何更换桌面壁纸
2022-06-17 17:58:12
![](https://img.aspxhome.com/file/2023/26/a227558_0s.jpg)
Win8系统玩LOL提示Client.exe-应用程序错误0xc0000045的原因及解决方法
2022-03-09 05:50:19
![](https://img.aspxhome.com/file/2023/28/a243149_0s.jpg)
0x80004005加载疑难解答时出错怎么办?0x80004005错误代码解决方法
2023-01-20 22:16:46
![](https://img.aspxhome.com/file/2023/1/a271937_0s.jpg)
Word样式中的锁定样式功能 实现确保word样式不让他人修改
2022-07-25 00:25:11
![](https://img.aspxhome.com/file/2023/6/33496_0s.jpg)
Windows10创意者如何启用动态蓝牙锁功能?
2022-11-10 05:58:32
![](https://img.aspxhome.com/file/2023/26/a225454_0s.jpg)
[视频]win10 微软小娜解锁新姿势:超贴心的天气预报
2023-11-23 04:56:23
![](https://img.aspxhome.com/file/2023/28/a250422_0s.jpg)
win10系统如何设置待机时间?win10待机时间设置教程
2022-02-01 17:40:45
![](https://img.aspxhome.com/file/2023/30/a269704_0s.png)