用EXCEL做这种样子的箱唛。需要怎么操作呢。好多大神都搞不定
excel吧
全部回复
仅看楼主
level 1
ptpyllh 楼主
2021年04月01日 03点04分 1
level 1
ptpyllh 楼主
难点在于AB的字体和下面箱号不同。要做到只调整1/300 的分子
2021年04月01日 03点04分 2
level 1
ptpyllh 楼主
有人指点下嘛
2021年04月01日 03点04分 3
level 10
我不是大佬 估计row 和 count 这些不好使 ![汗]
2021年04月01日 03点04分 4
同个格的应该不好弄。
2021年04月01日 05点04分
level 1
ptpyllh 楼主
拖拽的时候变的是分母。想让分子变化分母不动怎么弄呢
2021年04月01日 05点04分 5
level 12
用 vba很简单
2021年04月01日 06点04分 6
有代码吗
2021年04月01日 06点04分
level 10
Sub 不知干啥的()
Dim i As Integer
Dim Cot As Integer, Str As String, n As Integer
Dim FontSize1 As Byte, FontSize2 As Byte
'设置区域
Str = "AB" '第一行文字
Cot = 30 '总数
FontSize1 = 33 '第一行文字大小
FontSize2 = 11 '第二行文字大小
n = Len(Str)
[A:A].Clear
For i = 1 To Cot
With Cells(i, 1)
.Value = Str & Chr(10) & i & "/" & Cot
.Characters(1, n).Font.FontStyle = "加粗"
.Characters(1, n).Font.Size = FontSize1
.Characters(n + 1).Font.FontStyle = "常规"
.Characters(n + 1).Font.Size = FontSize2
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlCenter
End With
Next
End Sub
2021年04月01日 06点04分 7
level 8
2021年04月01日 10点04分 8
level 8
2021年04月01日 10点04分 9
level 12
大神 ≈ 苦逼
2021年04月01日 11点04分 10
1