![]() |
Can't terminate the excel instance from VB
I create hyperlinks in an excel workbook from VB. If i
want to add more hyperlinks I first have to close my application before I can add more hyperlinks. I have tryed to quit, close workbook and application and set the excel object to nothing but the excel object keeps on running in the background. |
Can't terminate the excel instance from VB
Perhaps there is a hidden instance/s of Excel running? Check it by using
the task manager. Does the Application.BeforeClose event contain anything that could prevent termination? These are the only things I can think of that would be relevant. When you say you create hyperlinks in the workbook is this an existing workbook that you're opening or are you instantiating Excel then doing all the work in code? If the later can you instantiate Excel, say set a cell value then close it sucessfully? If not, there's something wrong with the way you're setting things up/closing them down. -- Regards, Bill Lunney www.billlunney.com "Gerhard" wrote in message ... I create hyperlinks in an excel workbook from VB. If i want to add more hyperlinks I first have to close my application before I can add more hyperlinks. I have tryed to quit, close workbook and application and set the excel object to nothing but the excel object keeps on running in the background. |
All times are GMT +1. The time now is 11:23 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com