Skip to content

Commit c0f9fda

Browse files
authored
Update GetDataFromClosedFile
1 parent ba63df9 commit c0f9fda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GetDataFromClosedFile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Sub GetDataFromClosedFile()
66
Sheet1.Range("A1").CurrentRegion.Offset(1, 0).Clear
77

88
Set cn = New ADODB.Connection
9-
9+
' need to add Tools -> Reference -> Microsoft ActiveX Data Objects 6.1 Library
1010
cn.ConnectionString = _
1111
"Provider=Microsoft.ACE.OLEDB.12.0;" & _
1212
"Data Source=" & ThisWorkbook.Path & "\My Files\Movies.xlsx;" & _

0 commit comments

Comments
 (0)