Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel2007 sheet returns workbook.name as temp file.
I have Office 2003 with compatibility pack installed on my machine and add-in
written for excel in C#.NET. In this add-in, On App_WorkbookOpen event, i want to get name and fullname of the workbook. For example: string sFileName = theworkbook.Name; string sFullFilePath = theworkbook.FullName; When opening 2007 workbooks, my addin gets the name of the temp files! So workbook.name, workbook.fullname and workbook.path all point to the .tmp file. This works correctly for any pre-2007 workbooks. Is there a way around this? Thanks and Regards Sharad |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Problem using obj.Namespace(sourceFileName) Namespace(DestinationFilename).Itemsand then opening the xls file which creates a Temp Folder inside Temp | Excel Discussion (Misc queries) | |||
Excel 2007 macro gets workbook name and path from temp file | Excel Programming | |||
Original Excel File gets deleted and temp file gets created. | Excel Programming | |||
shared workbook, local temp-file and network traffic | Excel Discussion (Misc queries) | |||
Cant Select temp Sheet | Excel Programming |