【发布时间】:2019-09-23 09:09:33
【问题描述】:
我在下面的代码中遇到语法错误,请尽快帮助我
谢谢
Set rng = Range("AM4:AM" & Lastrow)
rng.Formula = "=IF(P4="Y",1,0)" //I need to execute this statement//
I have attached the screen shot of the error message with the whole code
【问题讨论】:
标签: excel vba excel-formula windows-10 ms-office