Trying to get the last row inserted from a Excel sheet. The sheet is called clientes.
id, name, description
Since ID is auto incremental, I can sort by ID:
My idea is:
oledbcmd = "Select top (1) * From [CLIENTES$] ORDER BY id desc";
but it does not work. Any tips?