Hi,
A macro with SQL code reads cell in my Excel and use it in SQL WHERE statment:
The cell should include system serial number.
I need the SQL query to read all the serial numbers.
What should I write in the cell?

The SQL code looks like that:

...
WHERE
(tbl.mr.[sysCode]=55)
AND (tbl.mr.[sysNum]=?)

For the ? parameter, I use cell in my Excel.

Tnx!