D
Dan Glyde
We currently have an application written with Visual Basic 2005. This
application makes reference to the Excel object and has the ability to launch
worksheets and insert data into cells, etc. We have recently rolled this
application out to European non-English speaking countries and have found a
problem with calling the excel object to create worksheets, etc. when the
windows regional settings is set to something other than English, but the
version of Excel is English. We have found a posted work around at:
http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q320369& and have
applied it. This however seems to solve only part of our problem. Before
applying this fix we could not even launch excel if the Windows regional
settings were set to something other than English (say German for example)
and the version of Excel was an English version. After applying this fix we
found that we could launch excel once more, but found that a large number of
other interactive functions would not work. Setting properties like
ExcelSheet.Visible, ExcelApplication.DisplayAllerts,
ExcelApplication.ScreenUpdating and calling functions like
ExcelSheet.Activate() and ExcelBook.Activate() cause the error “Old format
or invalid type libraryâ€. We have Microsoft Office 2003 Professional
Enterprise Edition installed, and this is what our application is compiled
with. Without being able to set these properties and call these functions,
our application does not run properly and we encounter a lot of strange
behavior. Any help with any workarounds or code changes would be greatly
appreciated.
application makes reference to the Excel object and has the ability to launch
worksheets and insert data into cells, etc. We have recently rolled this
application out to European non-English speaking countries and have found a
problem with calling the excel object to create worksheets, etc. when the
windows regional settings is set to something other than English, but the
version of Excel is English. We have found a posted work around at:
http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q320369& and have
applied it. This however seems to solve only part of our problem. Before
applying this fix we could not even launch excel if the Windows regional
settings were set to something other than English (say German for example)
and the version of Excel was an English version. After applying this fix we
found that we could launch excel once more, but found that a large number of
other interactive functions would not work. Setting properties like
ExcelSheet.Visible, ExcelApplication.DisplayAllerts,
ExcelApplication.ScreenUpdating and calling functions like
ExcelSheet.Activate() and ExcelBook.Activate() cause the error “Old format
or invalid type libraryâ€. We have Microsoft Office 2003 Professional
Enterprise Edition installed, and this is what our application is compiled
with. Without being able to set these properties and call these functions,
our application does not run properly and we encounter a lot of strange
behavior. Any help with any workarounds or code changes would be greatly
appreciated.