rraajjiibb
New Member
- Joined
- Jan 6, 2004
- Messages
- 16
I am trying to import contents of a file into the excel . My file's no of row contents are more to surpass the 65536 row limitation of excel.
I am aware of the earlier postings on the board on this.
I have tried both the approaches that of using DAO object or line inputting one by one and then adding an workshet as the row number exceedes 65536.
But none of the approaches seem to solve my problem.
In the DAO approach I have used iget an error at : oRS.Open "SELECT * FROM " & strFilename, oConn, 3, 1, 1
Stating it as an invalid SQL statement.
Whereas in later case I get a response as out of memory.
I doubt that this has some thing to do with the format of my my data file
My data source when opened with write comes out nicely formatted like this
HOUR 0
ECP 01/08/04 23:00 01/09/04 00:00
ESID 070214655
RELEASE r20.0
ECP CNTS 00000 00036 00000 00000 00000 00000 00000 00000 00000
ECP TAND 000003391 000000000 000001042
ECP ISUP 00000 00000 00000 00000 00000 00000 00000 00000 00005 00000 00000
ECP LCNTS 000000000 000000000 000000000 000121724 000000263 000000000 000000069
000000000 000000000 000002228 000000000 000000001 000000000 000000000
000000000 000001127 000000000 000004304 000000000 000000000 000000000
000000000 000000000 000000000 000000000 000000000 000000000 000000000
000000000 000000000 000000000 000000000 000000000 000000000 000000000
000000000 000000000 000000000 000000000 000001000 000000000 000000000
000000000 000000000 000000000 000000000 000041119 000016717 000000002
000000012 000000000 000000000 000004571 000000000 000000000 000000000
000007766 000000142 000000000 000000000 000000000 000000000 000000000
000000000 000000000 000000000 000000000 000000000 000000000 000000000
000000000 000000000 000000000 000000000 000000000 000000000 000000000
000000000 000000000 000000000 000000000 000000000 000000000 000000000
000000000 000000000 000000000 000000167 000000000 000000183 000000000
000000019 000000000 000000000 000000000 000000000 000000000 000032199
000017251 000012745 000010761 000001498 000000392 000000001 000000001
000000000 000000000 000000000 000000000 000000000 000000000 000000000
000000000 000000000 000000000 000000000 000000000 000000000 000000000
000000000 000000001 000000000 000000001 000000000 000000000 000000000
000000000 000000000 000000000 000000000 000000000 000000000 000007531
000000313 000005777 000000060 000000000 000000000 000000000 000000000
000000006 000000000 000000000 000000000 000000000 000005386 000000169
000003043 000012679 000005311 000000000 000000023 000000000 000000000
000000223 000000000 000000000 000000000 000000000 000000000 000000000
000000000 000000000 000000000 000000000 000000000 000803592
ECP VSCNTS-8K
00000
ECP VSCNTS-13K
00000
ECP VSCNTS-EVRC
00000
ECP VSCNTS-SMV
00000
ECP P_LANG ATTEMPT
00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000
00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000
00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000
00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000
00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000
00000 00000 00000 00000 00000 00000 00000
DCCH
DCCH SMS 000000000 000000000 000000000 000000000 000000000 000000000
DTC SMS 000000000 000000000 000000000 000000000 000000000 000000000
DTC MO-SMS
000000000 000000000 000000000 000000000
CDMA PKT DATA
000000241 000000152 000000000 000000000 000000511 000000392 000000000
000000000 000000000 000000000 000000000
CDMA SMS 000008695
A-MODE 000000000 000000000 000000000 000000000 000000000
DP-MODE 000003772 000000259 000000000 000000000 000000000
CT-MODE 000004690 000003565 000000000 000000000 000000000
COACC 000001529 000000031 000000000 000000000 000000000
COTRAF 000017095 000000033 000000001 000000000 000000000
BRDCAST 000000000 000000000 000000000 000000000 000000000
ECP MSCTS 000000000 000000000 000000000 000000000 000087365 000000000 000000000
000000000 000000000 000000000 000000000 000087369 000000000
........
could any one out there pl help?
I am aware of the earlier postings on the board on this.
I have tried both the approaches that of using DAO object or line inputting one by one and then adding an workshet as the row number exceedes 65536.
But none of the approaches seem to solve my problem.
In the DAO approach I have used iget an error at : oRS.Open "SELECT * FROM " & strFilename, oConn, 3, 1, 1
Stating it as an invalid SQL statement.
Whereas in later case I get a response as out of memory.
I doubt that this has some thing to do with the format of my my data file
My data source when opened with write comes out nicely formatted like this
HOUR 0
ECP 01/08/04 23:00 01/09/04 00:00
ESID 070214655
RELEASE r20.0
ECP CNTS 00000 00036 00000 00000 00000 00000 00000 00000 00000
ECP TAND 000003391 000000000 000001042
ECP ISUP 00000 00000 00000 00000 00000 00000 00000 00000 00005 00000 00000
ECP LCNTS 000000000 000000000 000000000 000121724 000000263 000000000 000000069
000000000 000000000 000002228 000000000 000000001 000000000 000000000
000000000 000001127 000000000 000004304 000000000 000000000 000000000
000000000 000000000 000000000 000000000 000000000 000000000 000000000
000000000 000000000 000000000 000000000 000000000 000000000 000000000
000000000 000000000 000000000 000000000 000001000 000000000 000000000
000000000 000000000 000000000 000000000 000041119 000016717 000000002
000000012 000000000 000000000 000004571 000000000 000000000 000000000
000007766 000000142 000000000 000000000 000000000 000000000 000000000
000000000 000000000 000000000 000000000 000000000 000000000 000000000
000000000 000000000 000000000 000000000 000000000 000000000 000000000
000000000 000000000 000000000 000000000 000000000 000000000 000000000
000000000 000000000 000000000 000000167 000000000 000000183 000000000
000000019 000000000 000000000 000000000 000000000 000000000 000032199
000017251 000012745 000010761 000001498 000000392 000000001 000000001
000000000 000000000 000000000 000000000 000000000 000000000 000000000
000000000 000000000 000000000 000000000 000000000 000000000 000000000
000000000 000000001 000000000 000000001 000000000 000000000 000000000
000000000 000000000 000000000 000000000 000000000 000000000 000007531
000000313 000005777 000000060 000000000 000000000 000000000 000000000
000000006 000000000 000000000 000000000 000000000 000005386 000000169
000003043 000012679 000005311 000000000 000000023 000000000 000000000
000000223 000000000 000000000 000000000 000000000 000000000 000000000
000000000 000000000 000000000 000000000 000000000 000803592
ECP VSCNTS-8K
00000
ECP VSCNTS-13K
00000
ECP VSCNTS-EVRC
00000
ECP VSCNTS-SMV
00000
ECP P_LANG ATTEMPT
00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000
00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000
00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000
00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000
00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000
00000 00000 00000 00000 00000 00000 00000
DCCH
DCCH SMS 000000000 000000000 000000000 000000000 000000000 000000000
DTC SMS 000000000 000000000 000000000 000000000 000000000 000000000
DTC MO-SMS
000000000 000000000 000000000 000000000
CDMA PKT DATA
000000241 000000152 000000000 000000000 000000511 000000392 000000000
000000000 000000000 000000000 000000000
CDMA SMS 000008695
A-MODE 000000000 000000000 000000000 000000000 000000000
DP-MODE 000003772 000000259 000000000 000000000 000000000
CT-MODE 000004690 000003565 000000000 000000000 000000000
COACC 000001529 000000031 000000000 000000000 000000000
COTRAF 000017095 000000033 000000001 000000000 000000000
BRDCAST 000000000 000000000 000000000 000000000 000000000
ECP MSCTS 000000000 000000000 000000000 000000000 000087365 000000000 000000000
000000000 000000000 000000000 000000000 000087369 000000000
........
could any one out there pl help?