有没有类似于Java的解决方案,可以在VBA中连接字符串? 我想以这种方式使用MsgBox: ... Set UT = Workbooks(dropdownValue).Worksheets(1) With UT UT_rows = .Cells(3, 15).End(xlDown).Row End With MsgBox "Rows of the file: " + UT_rows 但是当我这样做时,我的代码在这一点上停顿了。(类型不匹配)
变量
是什么的更多详细信息。 - GSerg