I'm struggling to convert '∞' to '99999' in vba.
I've written a query which works fine, but as soon as I copy and paste the SQL into vba the '∞' gets changed to '', and this fails.
Suspect it might be something to do with character sets:
The code lifted from the query is
Code:
UPDATE Sheet1 SET Sheet1.F5 = '99999' WHERE (((Sheet1.F5)='∞'));
When copied and pasted into the code the result is
Code:
SQLText = "UPDATE Sheet1 SET Sheet1.F5 = '99999' WHERE (((Sheet1.F5)=''))"
Any pointers as to how to get this right will be greatly appreciated.
Terry Lawson