这是我在vba excel中的代码
Range("a1").Value = "=" & Chr(34) & beat_name & Chr(34) & char(38)
最终输出
= "name" & TEXT(TODAY(),"DD/MM/YYYY")
无法展示&登录excel表
答案 0 :(得分:1)
考虑:
Sub luxation()
s = "name "
Range("A1").Formula = "=" & Chr(34) & s & Chr(34) & " & TEXT(TODAY(),""DD/MM/YYYY"")"
End Sub