【发布时间】:2018-07-25 04:28:48
【问题描述】:
我收到了
运行时错误 5:无效的过程调用或参数
在这一行:
With ActiveSheet.QueryTables.Add(Connection:=User_File_Path, Destination:=Range("$A$1"))
我在该行之前有一个消息框,告诉我正在填充的 User_File_Path,当我将鼠标悬停在 Connection:=User_File_Path 上时,它也会显示文件路径......不知道如何解决这个问题。任何帮助表示赞赏!
【问题讨论】:
标签: excel vba variables runtime-error