Bug 155678 - BASIC runtime error. Argument is not optional.
Summary: BASIC runtime error. Argument is not optional.
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
7.5.3.2 release
Hardware: x86-64 (AMD64) macOS (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-05 00:58 UTC by Duane Berry
Modified: 2023-06-05 04:05 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Duane Berry 2023-06-05 00:58:57 UTC
On startup LibreOffice opens a page full of BASIC macros. In [My Macros & Dialogs].AncientGreek->Registry. The code that seems to be causing the problem is:
	If IsMissing(isPath) then
		If not isPath then  <-- this line is highlighted
			GetMyRegistryValue = sRegVal
			Exit Function
		End If
	End If

I acknoledge the error, close the window and everything appears to be working correctly, but I am not editing Greek at the moment. (FWIW Hebrew appears fine.)

I noticed that the initial file selection menu doesn't open until after the macros windows is closed.
Comment 1 Mike Kaganski 2023-06-05 04:05:04 UTC
https://extensions.libreoffice.org/en/extensions/show/ancientgreek

Release "1.6b9-no-doc" is described "... Fixing the "Argument is not optional" error message for all Message Boxes on LibreOffice 7.4".

This was just a bug in the extension; it was fixed.
Update your extension.

Closing NOTOURBUG.