1
我在想如何使用Excel VBA定義單元格位置的特定文件路徑?我試圖加載一個值到nCount
這是另一個文件在一個定義的位置的計數。所以更像是將單元格中的值分配給nCount
。使用Excel VBA確定單元格位置的文件路徑
nCount = "G:\ABC\[FILE FOR 2016-2017.xlsx]Master!$A$1"
它給了我一個錯誤:
Run-time error '13:"; "Type Mismatch