我需要将excel表中的数据插入到teradata表中。 ,我需要这样做使用MACRO。
I need to insert the data from an excel sheet into a teradata table. and I need this to be done using a MACRO.
我有一个Excel表格中的数据,如
I have data in an excel sheet like
COL1 COL2 COL3 COL4 1 2 3 4 2 5 8 10 . .所以
,我需要在excel表中保留一个按钮,并为该按钮分配一个宏,以便当我点击按钮,excel表格中的行应插入到数据库表中。
and i need to keep a button in the excel sheet and assign a macro to that button so that when i click the button the rows in the excel sheet should be inserted into a database table.
要求是将空的excel表发送给该人,他将填写在具有数据的工作表中,他单击excel中的按钮,并且数据必须插入到数据库表中。 我宁愿使用宏..
The requirement is that I will send the empty excel sheet to the person, he will fill in the sheet with the data and he clicks the button in the excel and the data has to be inserted into the database table. I would prefer doing this using a macro..
感谢所有。
推荐答案查看此链接使用vb / vba代码(对于marco)将数据从excel移动到sql server。
Have a look at this link for using vb/vba code (for the marco) to move data from excel to sql server.
更多推荐
如何将数据从Excel表插入到数据库表中?
发布评论