Apache OpenOffice (AOO) Bugzilla – Issue 90541
function call with "Not" parameter without brackets fails
Last modified: 2013-02-24 21:01:15 UTC
When attempting to run the attached excel macro in OOo, a message box appears: "Basic syntax error: Unexpected symbol: Not". But it runs OK in MS Office. The attached macro: Sub main() Dim aBool As Boolean aBool = True myFunction Not aBool ' fail in OOo End Sub Function myFunction(aBool As Boolean) If aBool Then MsgBox "True" Else MsgBox "False" End If End Function
Created attachment 54348 [details] patch for fixing this defect
pflin -> ab, please have a look. This patch is based on your vba-brackets-params-fix.diff.
DEFECT -> PATCH, STARTED, 3.x
Obviously setting this to STARTED failed and I didn't see it, next try...
ab: Patch looks ok and makes sense.
added in cws pflin10
Verified
Issue 90541 has been fixed in master version OOo-dev 3.1 .0 (OOO310m8 Build:9395) for Windows XP and can be closed.
The Issue checked and closed by HitekSchool interns, Group 1 - as part of an Issue Hunting Party.