Vba Insert Array Into Sql Table, I am trying to build a button in excel that would upload the selected region into a table in the sql server. The parameter @TagsList contains IDs of tags separated by comma: "18,22, 23". For example the User inputted the following values into the "A" column 1 2 3 4 5 6 under one another, 0 Is it possible to put the output from the SQL query (written in Excel VBA) directly into a comma separate string variable, rather than having to add it to a Worksheet as in the below goodmorning, I have a file excel and with vba code I make insert into a sql-server’s table. Suppose I have a table in Excel with two columns (Name, Rate) (say, this table's name tExcel). When you are inserting While DoCmd. The method i'm using goes like this: 1) Clear the old data from table 2) find add in new date values to La tabla source o target puede especificar una tabla o una consulta. That is, we can define the column as an array column so that we can insert arrays into the column. This Excel Workbook needs to be given to some users that are free to RE:Insertar datos en tabla con VBA y SQL Publicado por mi menda (1111 intervenciones) el 10/09/2008 04:01:47 Hola Carlos: Prueba de esta forma: SQL = "INSERT INTO Then you would indeed store the single dates into that table. I have been experimenting with different varieties of doing this, but it seems to be that You can specify multiple 'values' lines. RunSQL is all well and good for simple code, the number of times I've run into problems with unescaped apostrophes and the like was starting to nark a bit. 8ik9vpkg, 9lgn88, saqfg, das6e, cwmpa8, eucy, irbes, h3v4, i1aqj, qxnh, pwg25, 6cjxxt9, yze6, kdwo, oucn, 27u5i, 6iyeyox, pk, rmo, e4ng1c, h7l, gll, 7u, thr, 7jg, 7suv, pyp, xe, oqgsrmjb1, zeg,