Am creating Word log and Excel Log at runtime. At runtime am creating both Excel and Word log in one create method and saving it and closing it in same method. Now in another Write method am writing in word log and in excel log and saving it and closing it. Due to this apporach execution is very slow BECAUSE EACH TIME FOR WRITING LOGS FILES ARE OPENED FIRST AND THEN SAVED AND CLOSED. Am writing from different actions in one log file. So would like to know how i can enahnce my approach so that I can open the excel log and word log only once for writing and close it at the end after all execution. I have declared public variables for excel and word. Any solution will be appreciated.