vba to mysql: pls help ?

hoffies

New Member
Joined
Apr 2, 2009
Messages
19
Hello all,

I have a spreadsheet that creates a report and email based on information input by staff - and checks for spare parts from a list in the same worksheet.

Is it possible for this spreadsheet to check against a MySQL Dbase and - for example : there are 6 parts in that MySQL list, when my form uses one - it becomes 5 parts ?

Not sure if i explained it well enough!

MySQL database is on a local webserver in the office.
 

Some videos you may like

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

tusharm

MrExcel MVP
Joined
May 28, 2002
Messages
11,028
Yes, you can connect to a MySQL database with VBA (and I imagine Excel using MS Query). Searched google?
 

Watch MrExcel Video

Forum statistics

Threads
1,127,678
Messages
5,626,227
Members
416,169
Latest member
DROP_DATABASE_MrExel

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top