Florida .NET User Groups
Florida .NET User Groups  Status: Not logged in

Hot News
Skip Navigation Links

Our Stuff
Skip Navigation Links

Community
Skip Navigation Links

Resources
Skip Navigation Links


JOBS HERE!
Active Jobs: 14

Meetings: 60
Attendance: 2088
(12 months)


.NET Framework: Need help with firing code after saving workbook in excel
From: Jon Roberts 8/26/2006 5:45:12 PM
Hi all,

I am writing an excel add-in using the microsoft.office.interop.excel namespace.
Here is the problem , How do I get code to fire after a workbook has been saved. This is need to allow me to capture the new workbook name that the workbook was saved as. Seem like microsoft over looked the need for an after save event. they did create a BeforeSave event ( which I am using) they did create an AfterXMLExport event. I also lookedat using the Codename property but as per the msdn that property does nto return a vaule through the .Net interface.

I was hoping anyone might have a suggestion on how to work around this problem. As I need to be able to reference the workbook by its' name.

As a side note I am looking also for a way to handle when a user changes a worksheet name. same need as above.




.NET Framework: Need help with firing code after saving workbook in excel

 

   
     
Copyright © 2001 - 2010 Florida .NET User Groups 
contact us or Call Dave Noderer: 954-418-9799
FlaDotNet is hosted by: http://www.appliedi.net/affiliates/windows-hosting.php?id=6783