以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 请问可以怎样设定选定行金额合计 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=190577) |
-- 作者:hnguang -- 发布时间:2024/2/23 15:37:00 -- 请问可以怎样设定选定行金额合计 ![]() ![]() 选定行自动显示合计金额能实显吗
|
-- 作者:有点蓝 -- 发布时间:2024/2/23 15:42:00 -- 如果要显示合计到表格里没有办法,如果要显示到窗口标签,或者状态栏就可以 |
-- 作者:hnguang -- 发布时间:2024/2/23 15:47:00 -- 我现在是点一下按纽,我就是想鼠标离开后自动提示,直接用MESSGBOX.show提 示 |
-- 作者:有点蓝 -- 发布时间:2024/2/23 15:56:00 -- 那在按钮里使用代码统计就行了:http://www.foxtable.com/webhelp/topics/1597.htm dim sum as double With Tables("订单") For i as Integer = .TopPosition To .BottomPosition sum += .Rows(i)("金额") Next End With msgbox(sum)
|
-- 作者:hnguang -- 发布时间:2024/2/23 15:56:00 -- 只能这样了 |