Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Passing excel cell values as sql variables
Hi,
Is there anyway I can pass excel cell values as sql variables??? Regards Jaideep |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Passing excel cell values as sql variables
sSQL = "SELECT * FROM myTable WHERE id='" & Range("A1").Value & "'"
as I have assumed the id is a string, I have enclosed it in single quotes. -- --- HTH Bob (change the xxxx to gmail if mailing direct) "jai" wrote in message ps.com... Hi, Is there anyway I can pass excel cell values as sql variables??? Regards Jaideep |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Passing excel cell values as sql variables
Hi
I this is for use in MSQuery, then Nick Hodge has a great article he http://www.dailydoseofexcel.com/arch...-data-queries/ Best regards Richard jai wrote: Hi, Is there anyway I can pass excel cell values as sql variables??? Regards Jaideep |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Passing excel cell values as sql variables
.... I this is for use in MSQuery ...
odd, I thought you were English <vbg "RichardSchollar" wrote in message oups.com... Hi I this is for use in MSQuery, then Nick Hodge has a great article he http://www.dailydoseofexcel.com/arch...-data-queries/ Best regards Richard |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Passing excel cell values as sql variables
It would seem that the copious quantities of mulled wine consumed this
Christmas have addled my brain ;-) Richard hic... Bob Phillips wrote: ... I this is for use in MSQuery ... odd, I thought you were English <vbg "RichardSchollar" wrote in message oups.com... Hi I this is for use in MSQuery, then Nick Hodge has a great article he http://www.dailydoseofexcel.com/arch...-data-queries/ Best regards Richard |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Passing Variables-Excel VBA | Excel Programming | |||
Passing cell addressess to variables to be use in range | Excel Programming | |||
Passing Excel formats in VBA date variables | Excel Programming | |||
Passing Variables | Excel Programming | |||
passing variables from excel to word | Excel Programming |