用VBA如何将excel中的时分秒转换成秒数?

2024-12-21 05:21:07
推荐回答(1个)
回答1:

[b1] = [a1] * 24 * 3600

[b2] = Application.Text([a2], "yyyymmdd")

自己根据实际情况调整代码中的单元格地址