以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  R1C1公式的问题  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=152980)

--  作者:donald0001
--  发布时间:2020/7/27 19:35:00
--  R1C1公式的问题

语句:

wshz1.cells(6,1).FormulaR1C1= "=明细!B5"

结果错误:wshz1.cells(6,1)内的公式是:=明细!\'B5\'

请问为什么结果的B5加了一对单引号?


--  作者:有点蓝
--  发布时间:2020/7/27 20:28:00
--  
wshz1.cells(6,1).Formula= "=明细!B5"
--  作者:donald0001
--  发布时间:2020/7/28 7:41:00
--  
明白了,感谢!