admin管理员组文章数量:1312658
I am having issues with a code that has worked for months on my computer, and still is working on my coworkers computers.
When I try to run it I get a pop up message saying: Wrong number of arguments (Error 450)
And then it is directing me to format(myDate, "ww") with "format" highlighted.
Anyone that can come with any tips on how to search what has gone wrong on my computer..
Thanks a lot.
I am having issues with a code that has worked for months on my computer, and still is working on my coworkers computers.
When I try to run it I get a pop up message saying: Wrong number of arguments (Error 450)
And then it is directing me to format(myDate, "ww") with "format" highlighted.
Anyone that can come with any tips on how to search what has gone wrong on my computer..
Thanks a lot.
Share Improve this question asked Jan 31 at 14:58 AkireAkire 1693 silver badges14 bronze badges 4 |1 Answer
Reset to default 0Yes, I had created a new sub called format.. so.. that was an embarasing one.. but maybe someone else can learn from it..
本文标签:
版权声明:本文标题:vba - Wrong number of arguments (Error 450) - codes works on coworkers computer, but not mine - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741912090a2404503.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
?Format(Date, "ww")
in the Immediate window does it throw the error or return the current week number? Do you have any missing references in Tools ~ References? – Darren Bartrup-Cook Commented Jan 31 at 15:06format
. Locate and rename it. Ifformat
persists in being lowercase, declare a variable e.g.Dim Format As Long
and then delete the line. – VBasic2008 Commented Jan 31 at 15:11