Hi
I need some help with my query update in excel via External data.
With Selection.QueryTable
.Connection = "ODBC;DSN=.............;"
.Sql = Array( _................where...........
ACCN Like ' " & myvalue3% & "'
The parameters I select in Microsoft Query for the above field is account number begins with.
However, when the above code is used in VBE, it changes the parameters to Like instead of begins with.
Please kindly assist.
Cheers,
Lagoon1
I need some help with my query update in excel via External data.
With Selection.QueryTable
.Connection = "ODBC;DSN=.............;"
.Sql = Array( _................where...........
ACCN Like ' " & myvalue3% & "'
The parameters I select in Microsoft Query for the above field is account number begins with.
However, when the above code is used in VBE, it changes the parameters to Like instead of begins with.
Please kindly assist.
Cheers,
Lagoon1