Issue 95439 - Assigning a macro to certain events causes error in Basic IDE
Summary: Assigning a macro to certain events causes error in Basic IDE
Alias: None
Product: App Dev
Classification: Unclassified
Component: scripting (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: ab
QA Contact: Unknown
Keywords: oooqa, regression
Depends on:
Reported: 2008-10-25 17:35 UTC by Stefan Weigel
Modified: 2013-02-24 21:00 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description Stefan Weigel 2008-10-25 17:35:14 UTC
In order to reproduce this bug, all you need is a Macro like

sub Main
   msgbox "Hi!"
end sub

Assign this macro either to the "Create Document" event or to the "Activate
Document" event. When assigning the macro to the event, be sure to choose "Save
In =".

After that, whenever you enter the Basic Editor (IDE), you will get the
following error message:

Found this Bug in OOO300m9 on Windows 2000, Windows XP and Ubuntu 7.10.
Comment 1 andreschnabel 2008-10-29 13:06:20 UTC
confirmed using OOo 3.0.0 final on WinXP

worked correctly with 2.4.1
Comment 2 Mathias_Bauer 2008-11-04 15:35:49 UTC
Andreas, I'm not sure that this is a basic problem, maybe it was caused by
Frank's rework of Basic to support base documents. Depending on who has to fix
that and his individual workload I think even target "3.1" could be appropriate.
Comment 3 ab 2008-11-12 09:11:19 UTC
Comment 4 ab 2011-02-09 13:41:27 UTC
ab: I cannot reproduce the problem any more in dev300 m99
Comment 5 kai.sommerfeld 2011-02-09 15:40:58 UTC