We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba63df9 commit c0f9fdaCopy full SHA for c0f9fda
GetDataFromClosedFile
@@ -6,7 +6,7 @@ Sub GetDataFromClosedFile()
6
Sheet1.Range("A1").CurrentRegion.Offset(1, 0).Clear
7
8
Set cn = New ADODB.Connection
9
-
+ ' need to add Tools -> Reference -> Microsoft ActiveX Data Objects 6.1 Library
10
cn.ConnectionString = _
11
"Provider=Microsoft.ACE.OLEDB.12.0;" & _
12
"Data Source=" & ThisWorkbook.Path & "\My Files\Movies.xlsx;" & _
0 commit comments