Is any Alternative Macro Code For StarDesktop.LoadComponentFromURL(...............)- ToOpen Calc Document?

Hi Friends,

Is any Alternative Macro Code For StarDesktop.LoadComponentFromURL(…) to Open Calc Doc…?

If we consider the question as an Olympiad task on knowledge of LibreOffice, then in addition to the specified one, you can use the load method (see an example from @hanya). :slightly_smiling_face:

1 Like

And what does Pitonyak write about this? I remember that I already suggested that you look for answers first in his book. By asking a question here, you are forcing us to repeat things that have already been repeatedly written over and over again.

Open the standard macro library Tools, find the Misc module there and look at the text of the OpenDocument function. How to use ready-made functions from the library is also written by Pitonyak.

OpenDocument function