Quote:
Originally Posted by NeoPa
Using Application Automation it's relatively straightforward to get the data from Excel as long as you know where the data is.
Saving "it" into Access though, is just plain meaningless. Where and how do you want these disparate items of data to be saved?
Thanks NeoPa for the reply.
But the data in Excel are scattered in different cells.
Example:
I have one table in Access called "tblTable".
The columns are Col1, Col2, Col3, Col4, Col5, Col6.
The data to be inserted in this table are in different cells in Excel.
The locations are Sheet1 in A1, A2, C5 then Sheet2 in B4, B5, G7.
Let's say:
[tblTable].Col1 = Sheet1!A1
[tblTable].Col2 = Sheet1!A2
[tblTable].Col3 = Sheet1!C5
[tblTable].Col4 = Sheet2!B4
[tblTable].Col5 = Sheet2!B5
[tblTable].Col6 = Sheet2!G7
How do i get the data in Excel one by one?
I'm sorry but i'm kinda new on this stuff.
But I kinda liking doing this already. =)
Just got bumped on this though. =(
Hope you could help give advices.