Hi
I Need Export All Rows 1 To 164 In Excel To Mysql By Vba Code
This file etheer.xlsm
Hi
I Need Export All Rows 1 To 164 In Excel To Mysql By Vba Code
This file etheer.xlsm
This may be a possible solution for you.
http://panofish.net/convert-import-e...ysql-database/
Alan עַם יִשְׂרָאֵל חַי
Change an Ugly Report with Power Query
Database Normalization
Complete Guide to Power Query
Man's Mind Stretched to New Dimensions Never Returns to Its Original Form
You could use the ADO Connection Object.
Here is a very basic example but you will have to play around with the connection string a bit.
And you will need to add a reference to Microsoft Active X Data Object 2.X library in Tools->References.
And you might need to download the ODBC Driver for MySQL.
But hold off on that. Try without it first.
But should you need to, here is the MySQL website:
http://dev.mysql.com/downloads/connector/odbc/
Please Login or Register to view this content.
Last edited by jason_lee_91; 08-14-2013 at 10:28 PM.
Error
ERROR.jpg
The error message says that your SQL has an error in the syntax.
If you look at the qry, it says that you ahve to build your insert query.
How to fix error ?
I Have this code work witn me but insert only 3 column and 3 rows
i need insert 36 columns and 164 rows
and update taple in database mysql everytime run macro
Please Login or Register to view this content.
Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.
Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.
Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!
Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).
Josie
if at first you don't succeed try doing it the way your wife told you to
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks