To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=73094 Issue #|73094 Summary|Runtime error when loading Calc template with simple B |asic code Component|api Version|OOo 2.1 Platform|All URL|http://www.oooforum.org/forum/viewtopic.phtml?p=199394 |#199394 OS/Version|Windows, all Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|jsc Reported by|aziem
------- Additional comments from [EMAIL PROTECTED] Wed Jan 3 13:05:08 -0800 2007 ------- I found a way to display the name of the current sheet function GetSheetName() GetSheetName = ThisComponent.getCurrentController.getActiveSheet.getName() end function However, if I call GetSheetName() in a formula, save it as a template (.ots), and open it, I get an error BASIC runtime error. An exception occurred. Type: com.sun.star.lang.DisposedException Message: . The error happens on my Windows XP and OOo 2.1, but there is no error with my Linux and OOo 2.1. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
