Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个功能:
Sub WordsToDate(col, endRow) .... End Sub
然后当我这样称呼它时:
Functions.WordsToDate(7, endRow)
(功能是模块)它给了我错误:
Compile Error: Expected: =
当我尝试离开线路时,它会弹出并告诉我这一点。
有任何想法吗?
是否Functions.WordsToDate(7, endRow)在工作表上的单元格中?在这种情况下,您需要改为输入=Functions.WordsToDate(7, endRow)。
=Functions.WordsToDate(7, endRow)