以文本方式查看主题 - 金字塔客服中心 - 专业程序化交易软件提供商 (http://weistock.com/bbs/index.asp) -- 高级功能研发区 (http://weistock.com/bbs/list.asp?boardid=5) ---- 在VBA中使用声音播放 (http://weistock.com/bbs/dispbbs.asp?boardid=5&id=30889) |
-- 作者:onlylovexue -- 发布时间:2012/11/25 19:16:31 -- 在VBA中使用声音播放 如题
请给出详细的VBA 代码
感谢 |
-- 作者:guotx2010 -- 发布时间:2012/11/25 20:57:00 -- 使用Application对象的PlaySounfFile方法实现播放声音文件的功能。 如: Call Application.PlaySoundFile("c:\\test.mp3")
要停止播放可以使用Call Application.StopPlay()
|
-- 作者:onlylovexue -- 发布时间:2012/11/26 10:40:47 -- 回复管理员 那请教下 vba中如何获取今天的日期 只要日期即可, 不要时间 感谢 |
-- 作者:guotx2010 -- 发布时间:2012/11/26 12:28:01 -- Cdate(Date)
|