📄 prt.bas
字号:
Attribute VB_Name = "Module2"
Option Explicit
Global RowsofPage As Integer
Function CalRowsofPage(Height As Long, rHeight As Long) As Integer
CalRowsofPage = Height / rHeight
End Function
Function CalPages(RowsofPage As Integer, TotalRows As Integer) As Integer
If TotalRows Mod RowsofPage = 0 Then
CalPages = TotalRows \ RowsofPage
Else
CalPages = TotalRows \ RowsofPage + 1
End If
End Function
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -