I am working through examples from Andrew Pitonyak’s ‘AndrewPersonalLibs.odt’ and have hit a problem.
In library AndrewTestLib, module Module1 is a macro CopyLibToDoc. In this is a couple of lines of code designed to load a library which I have edited to ‘AndrewBase’:
sLName = "AndrewBase"
If (Not Globalscope.BasicLibraries.isLibraryLoaded(sLName)) Then
Globalscope.BasicLibraries.LoadLibrary(sLName)
End If
The trouble is, this does not work for some reason.
As you can see from the MRI window, the only accessible libraries are from ‘My Macros & Dialogs’ and ‘LibreOffice Macros & Dialogs’. Any attempt to load any of the other libraries through code gives the same result: the library cannot be found, cannot be loaded etc.
Is there something I am missing?
Thanks,
Doug