Skip to content
Advertisement

SQL statement in VBA Excel

I have a problem with a SQL Statement in VBA Excel. I can’t use ORDER BY together with GROUP BY and I don’t understand why. If I delete ORDER BY I don’t get errors. Can anyone help me figure out where am I wrong?

Thanks a lot to everyone!!

Here is my code:

Advertisement

Answer

missing space ? try with

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement