D
David Thielen
Hi;
We have a major problem. When loading an XLSX file in Excel 2003
(using the MS file converter), when the
Microsoft.Office.Interop.Excel.AppEvents_Event.WorkbookOpen event
fires, we use Microsoft.Office.Interop.Excel.Workbook.FullName to get
the name of the XLSX file.
We need the path component of this to be correct for associated data
that we read in at that time (in the same directory). However, at this
point the file name is 'C:\Documents and Settings\dave\Local
Settings\Temp\abc123.tmp.
Later on the FullName is correct. However, we need the correct name
when the worksheet is loaded. How can we get this? We don't need it at
that exact spot, but we do need it before the user can edit a read in
Excel file.
thanks - dave
david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com
Cubicle Wars - http://www.windwardreports.com/film.htm
We have a major problem. When loading an XLSX file in Excel 2003
(using the MS file converter), when the
Microsoft.Office.Interop.Excel.AppEvents_Event.WorkbookOpen event
fires, we use Microsoft.Office.Interop.Excel.Workbook.FullName to get
the name of the XLSX file.
We need the path component of this to be correct for associated data
that we read in at that time (in the same directory). However, at this
point the file name is 'C:\Documents and Settings\dave\Local
Settings\Temp\abc123.tmp.
Later on the FullName is correct. However, we need the correct name
when the worksheet is loaded. How can we get this? We don't need it at
that exact spot, but we do need it before the user can edit a read in
Excel file.
thanks - dave
david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com
Cubicle Wars - http://www.windwardreports.com/film.htm