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 ac50e3d commit dedca82Copy full SHA for dedca82
src/CSVinterfaceTest.bas
@@ -4,16 +4,17 @@ Sub Test_Import()
4
Dim CSVix As CSVinterface
5
Dim s As Double, e As Double, H As Double
6
Dim fileName As String, i As Single
7
-
+ Dim tmpCSV As String
8
+
9
Set CSVix = New CSVinterface
10
- fileName = ThisWorkbook.path & "\Demo_400k_records.csv"
11
+ fileName = "C:\Demo_400k_records.csv"
12
+ tmpCSV = CSVix.GetDataFromCSV(fileName)
13
14
H = 0#
15
For i = 1 To 10
16
s = Timer
- Call CSVix.OpenConnection(fileName)
- Call CSVix.ImportFromCSV
17
+ Call CSVix.ImportFromCSVString(tmpCSV)
18
e = Timer
19
H = H + (e - s)
20
Next i
0 commit comments