You need to see how excel save its selection to the clipboard, then handle it.

If you want Qt -> excel, just use \t for column and \n for line, excel will understand it.