I am trying to write some code to copy data from Excel and then switch into a CITRIX application and paste it. I am using the sendkeys function to do the copy paste bit but am having difficulty changing the focus between applications. I have tried the sendkeys version on Alt-Tab but it doesn't seem to work. (Both applications are open on the desktop). Can anybody help?