Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Export data from Excel to access using VB script
#2
Solved: 10 Years, 9 Months, 4 Weeks ago
Wouldn't it be easier to import from Access? It already has this functionality.

Code wise, that is a lot of code for someone to provide you with.

Try

1. Open recordset to excel shee (internet should have examples)
2. Open Access DB connection (again internet examples)
3. Loop through Excel recordset and create SQL statement to insert into Access DB


Again, I would think it would be easier to do with Access, but I can understand that sometimes you need a coded method. GL.
Reply


Messages In This Thread
RE: Export data from Excel to access using VB script - by jsknight1969 - 10-12-2009, 08:13 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  export UFT datasheet to excel and then append Mozza 0 1,679 09-04-2018, 08:58 AM
Last Post: Mozza
  How to Access MS Excel Controls using QTP gayuamlu 0 2,063 06-13-2015, 02:06 AM
Last Post: gayuamlu
  Search and import data from excel under some rules. nwpulele 2 2,777 02-19-2015, 04:10 AM
Last Post: supputuri
  Excel and Driver Script shipu 1 3,605 02-27-2014, 09:09 AM
Last Post: supputuri
Question QTP Script for enter data to DB geethu105 2 3,170 02-24-2014, 06:54 PM
Last Post: guin.anirban

Forum Jump:


Users browsing this thread: 1 Guest(s)