That is not VBA code, it is SQL.
Should provide sample data and desired output. Can build tables in post or attach file.
That is not VBA code, it is SQL.
Should provide sample data and desired output. Can build tables in post or attach file.
How to attach file: Reading and Posting Messages (vbaexpress.com), click Go Advanced below post edit window. To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.