Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Update MySQL database using Excel VBA

Dear Excel experts,

I would like to use Excel VBA to update data on a database. I am using a web database running MySQL. My Excel-sheet is collecting data in real-time. I want to get it to update database as data is being collected. May I ask the experts here whether this is even possible with VBA?

Thank you very much for your help.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 137
Default Update MySQL database using Excel VBA

Hi Lane

On Tuesday, June 19, 2012 7:56:05 PM UTC+10, Lane wrote:
Dear Excel experts, I would like to use Excel VBA to update data on a database. I am using a web database running MySQL. My Excel-sheet is collecting data in real-time. I want to get it to update database as data is being collected. May I ask the experts here whether this is even possible with VBA? Thank you very much for your help.


It certainly is. Which version of Excel are you running? If it is Excel 2003 I recommend Conrad Carlberg's most Excellent book "Managing Data with Microsoft Excel"

At any rate the first step is to install the ODBC drivers for MySQL
http://dev.mysql.com/downloads/connector/

Then you need to setup your connection using the MS ODBC Data Sources config.
odbcad32.exe (Should be in your \Windows\System32 folder)

Then the fun begins.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
exporting data from Excel to MYSQL database irene c Excel Programming 0 February 26th 07 07:33 AM
How can I import data from a mysql database into excel Tina Excel Discussion (Misc queries) 3 May 18th 06 04:21 AM
Using Excel for MySQL database import inspireme Excel Discussion (Misc queries) 1 January 6th 06 10:59 PM
can I use excel vba to write tables to a mysql database? munder Excel Programming 1 September 20th 05 10:54 AM
how-to use Excel to upload records to a MySQL database? chris Excel Programming 3 November 15th 04 01:43 PM


All times are GMT +1. The time now is 05:52 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"