|
楼主 |
发表于 2013-1-11 09:49
|
显示全部楼层
[广告] Excel易用宝 - 提升Excel的操作效率 · Excel / WPS表格插件 ★ 免费下载 ★ ★ 使用帮助★
zyg365 发表于 2013-1-11 08:14
代码: | Private Function HMZHXJ(InNum)
InNumXJ = 0
For i = 1 To Len(InNum)
InNumXJ = InNumXJ + Int(Mid(InNum, i, 1))
Next
If InNumXJ < 82 Then
InNumXJ = InNumXJ
ElseIf InNumXJ Mod 80 = 0 Then
InNumXJ = 80
Else
InNumXJ = InNumXJ Mod 80
End If
HMZHXJ = InNumXJ
End Function
|
代码: | Private Function HMZHXJ(InNum)
InNumXJ = 0
For i = 1 To Len(InNum)
InNumXJ = InNumXJ + Int(Mid(InNum, i, 1))
Next
If InNumXJ < 82 Then
InNumXJ = InNumXJ
ElseIf InNumXJ Mod 80 = 0 Then
InNumXJ = 80
Else
InNumXJ = InNumXJ Mod 80
End If
HMZHXJ = InNumXJ
End Function
|
你为什么不用默认选择呢?出选择时直接回车就行了,你用了其他论坛的格式(以前在cn-dos时必须用那种,适用本论坛的在cn-dos反而会乱码),你如果熟悉网络编程一定懂的,哪些标签过滤和不过滤全看网站怎么控制呢,所以在本论坛你用默认选项就是上面的效果了。
|
|