Did you google there is a massive amount of code out there to do what you want only thing is it will not be set up to do exactly A B C. Using something like Getexcel.lsp has all the functions in it to do what you want but again you have to write the ABC bit.
getexecel.lsp