用插件吧 用刷新是给单元格赋值 没有刷新页面 不会出现你说的页面刷新的情况
https://help.fanruan.com/finereport/doc-view-2051.html?source=1 数字时钟控件插件 直接用这个