I have a VB application in which I want to open Excel, populate some cells and then close Excel. This is fairly easy to do. However, I need to determine beforehand, whether or not Excel is running. If it was previously running, I want to only close my workbook. If it was not previously running, I want to close my workbook and indeed the entire Excel application. Has anyone done this with any success?
Thanks in advance.
Thanks in advance.