- 2
- 0
- 约6.66千字
- 约 12页
- 2017-10-06 发布于河南
- 举报
口算表宏命令(I watch the macro command)
口算表宏命令(I watch the macro command)
The following is macro code:
Sub random test (I)
Dim, H, As, Long, L, As, Long, Y, As, Long, Ys, As, Long, H1, As, Long
Dim, Ls, As, Long, Hs, As, Long, Str1, As, String, Str2, As, String
Dim, P, As, Long, Ps, As, Long, DaH, As, Long, XiaoH, As, Long
Dim, S1, As, Long, S2, As, Long, S3, As, Long, S, As, Long
Dim, Fu, As, String, nFu, As, String, FuSel, As, String, FuS, As, Long
Dim, MaxRnd, As, Long, MaxOut, As, Long, nFond, As, Long, nBi, As, Single
the following changes set (equal sign number), can be blocked to show the effect of different
NFond = 12 sets the default font size
MaxRnd = 100 see the maximum number of operations
MaxOut = 100 was the largest number
NFu = 1212 (representing the 1234 selection and add, subtract, multiply and divide). Instead of 34 to 1234 that multiplication and division, said add, subtract, multiply and divide all
DaH = 1 big question serial number shows the starting point
XiaoH = 11 to show her serial number, or display
Ps = 2 vertical (vertical columns) false pages
Ys = 1 actual total number of pages
Ls = 0 horizontal questions (0 means automatically based on font size)
Hs = 0 the number of vertical questions (0 means automatically according to the font)
========================================================================
Application.ScreenUpdating = False close the screen update. Improve macro code execution speed
Cells (1, 1).Select: Cells.Delete removed
Cells.Font.Size = nFond
Cells.NumberFormatLocal = @ @
NBi = nFond / 9
If Hs 1 Then Hs = 26.4 / nBi
If Ls 1 Then Ls = 5 / nBi
DaH = DaH - 1
If DaH 0 Then DaH = 0
Settings format
If, XiaoH = 1, Then, S = 3, Else, S = 2
For, L = 1, To, Ls * S, single row, right justified, double row left aligned
If L Mod S Then series to = 0
Columns (L).HorizontalAlignment = xlLeft left aligned
Columns (L).ColumnWidth = 3 * nBi column width
Else test column or column number
Columns (L).HorizontalAlignment = xlLeft,xlRight right justified
If, S = 3, And, L, Mod
您可能关注的文档
- 初一数学复习资料15662(First day mathematics review material 15662).doc
- 初一数学复习资料16118(First day mathematics review material 16118).doc
- 初一数学复习资料17030(First day mathematics review material 17030).doc
- 初一数学复习资料17486(First day mathematics review material 17486).doc
- 初一数学复习资料18398(First day mathematics review material 18398).doc
- 初一数学复习资料17942(First day mathematics review material 17942).doc
- 初一数学复习资料18854(First day mathematics review material 18854).doc
- 初一数学复习资料19310(First day mathematics review material 19310).doc
- 初一新生班风建设谈 打印(The first new class construction on Printing).doc
- 初一数学2.1--2.9复习题(First day mathematics 2.1--2.9 review question).doc
- 伟明环保-市场前景及投资研究报告-境内业务稳健运行,印尼市场贡献边际增量.pdf
- 桂东县法院系统招聘考试真题2025.pdf
- 贵州省黔南布依族2026年中考三模物理试题及答案.pdf
- 贵州省黔南州2026年中考语文二模试卷附答案.pdf
- 贵州省铜仁市2026年中考语文二模试卷附答案.pdf
- 2026上半年安徽事业单位联考合肥市庐江县招聘36人备考题库及一套完整答案详解.docx
- 贵州省毕节市2026年中考语文一模试卷附答案.pdf
- 贵州省贵阳市南明区2026年中考语文一模试卷附答案.pdf
- 2026上半年安徽事业单位联考合肥市庐江县招聘36人备考题库及一套参考答案详解.docx
- 贵州省贵阳市白云区2026年中考二模物理试题附答案.pdf
最近下载
- PPAP培训课件(详细).pdf VIP
- 2023山东传媒职业学院教师招聘考试笔试试题2.pdf VIP
- 2025年数据中心五年建设:AI算力与投资方向报告.docx
- WebGIS原理及开发—基于开源框架的WebGIS技术493.pptx VIP
- 鹤煤三矿关于成立原煤车间智能选矸系统升级改造项目领导小组的通知.doc VIP
- 2023年山东传媒职业学院教师招聘考试笔试试题及答案解析.docx VIP
- 北师大版6六年级数学上册全套计算题专项练习16页.pdf VIP
- 2025中考语文名著阅读专题06 《昆虫记》真题练习(单一题)(学生版+解析版).docx
- Q_26 4003HJTG001-2019无心车床技术条件.pdf
- LC-2030C型高效液相色谱仪(设备编号)再确认方案 .pdf VIP
原创力文档

文档评论(0)