I have a program that opens excel and a certain template through a shell statement, and then exports text form textboxes into certain cells of excell. Everything worked great in trial runs until I compiled it and put people on the program. It ends up that if Excel is already open then the shell opens a second Excel and the template, butinstead of writting to the template version of Excel it writes to the first version that was already open. Is there a way to detect if Excel is already open or maybe a diiferent way to open the template. I am fairly new to VB and don't know all of the tricks. If the code is needed let me know and I will provide it. I just thought it was probably too long for a forum.

Thanks for any help

MBStumped