moving excel 2003 data to sql server

J

JohnE

Hi. I have a situation which requires the vba coding of excel to move data
from an excel 2003 worksheet to sql server 2005. I am somewhat familiar with
vba but not in moving it like this. Also, as the data updates on the
worksheet, the vba needs to fire at set times (ex: every 5 secs) to update
the sql server 2005.

So I seek the wisdom of the group to see if anyone has done this and how,
know of some documentation about it, or know of samples to look at?

Thanks in advance for the assistance.

.... john
 
T

Tim Williams

Search google on "ADO": using this you can easily insert records into a sql
server DB.
Beyond that it depends how complex your "updates" are (just inserting ,or
updating existing records?)
You can use "ontime" to schedule the updates.

Tim
 
T

Tim Zych

How will your solution/Excel know which rows need to be updated vs inserted
vs deleted?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top