Skip to main content
All CollectionsHistorical ArchiveExcel Data Management for SalesforceTroubleshooting
Troubleshooting: Resolving "no viable alternative at character" " when writing SOQL statements on Mac
Troubleshooting: Resolving "no viable alternative at character" " when writing SOQL statements on Mac

XLSF | Your Mac keyboard may need to be tweaked if you are writing SOQL statements with single quotes

Updated over 3 months ago

If you're using a Mac and getting an error similar to that below it's likely due to the fact that your Mac keyboard is not set to use straight single quotes.

The solution is simple. 

Step 1: Open your Application (Excel, etc.)

Step 2: From within your application go to Apple menu and open System Preferences

Step 3: Choose “Keyboard” and select the “Text” tab

Step 4: Pull down the submenus alongside “Double Quotes” and “Single Quotes” and select your preferred quote style for each.
You'll want to choose straight quotes.

Did this answer your question?