Description: I have created a macro which runs well but only during the current session. the macro disappears once the computer is off. when I try to use the shortcut for the macro, I receive this alarm : "Une erreur de structure de script s'est produite lors de l'exécution du script vnd.sun.star.script:Standard.Module1.Orange?language=Basic&location=application en Basic. Message : The following Basic script could not be found: library: 'Standard' module: 'Module1' method: 'Orange' location: 'application'" Actual Results: a macro is created a keyboard shortcut is associated Expected Results: All works well in the current session. The macro works with the shortcut. But, at the next session, the macro has disappeared and does not appear in the list of macro. The shortcut does not operate… Reproducible: Always User Profile Reset: No Additional Info: should have saved the macro
(In reply to montergon from comment #0) > Description: > I have created a macro which runs well but only during the current session. > the macro disappears once the computer is off. How do you have created the macro? Into which library do you have stored the macro? Do you see your macro in the Object Catalog in the Basic IDE (Tools > Macros > Edit Macros)? What is the name of your macro?
Created attachment 178316 [details] Dialog box
Sorry for the delay but I have answered your e-mail and waited for an answer unaware that replies to the e-mail was impossible (no warning in your message !)… Here attached is the message I get when I do the assigned keyboard shortcut to the macro, after closing and re-opening LibreOffice. As a matter of fact, the macro is no more in the list of macros… Answers to your questions are in your message below : > How do you have created the macro? Through the menu "Outils/Macros/Enregistrer une macro" > > Into which library do you have stored the macro? Mes macros / standard / Module 1, like all the other macros I have created and which run well > Do you see your macro in the Object Catalog in the Basic IDE (Tools > Macros > > Edit Macros)? No, Not once I have closed my session > > What is the name of your macro? "Oranje"
[Automated Action] NeedInfo-To-Unconfirmed
Is this discussion closed ?
Bug is still Unconfirmed and reporter is not allowed to confirm himself. Just set Unconfirmed. This is either Mac specific or some local issue, not general one. User Profile Reset: indicates you should try with profile rename/delete. Or you may repeat LO installation. If nothing helps, you should also attach here macro content for a test.
(In reply to montergon from comment #3) > Sorry for the delay but I have answered your e-mail and waited for an answer > unaware that replies to the e-mail was impossible (no warning in your > message !)… The mail is only a notification. Your description shows nothing special and working that way results in no problems for me. Please investigate, whether your user profile is corrupted. Ways to do that are described on https://wiki.documentfoundation.org/UserProfile
Did you assign macro to some event?
I assigned macro to the color of the background in a cell.
Please do User Profile Reset: as advised twice. Best to just rename user profile and keep it, since you will loose macros, and copy them beforehand. If problem persists, you should attach here macro content and try run without assigning macro. You should also write all instead of short replies. How exactly did you assigned macro to the color of the background?
No response here. Let's assume the same issue as short but clear bug report. *** This bug has been marked as a duplicate of bug 148806 ***