[Solved] Scripting Framework error

3 replies [Last post]
Gregm66
Offline
Last seen: 11 hours 37 min ago
Title: ★★★
Joined: 30 Apr 2016
Posts: 42
Hi all,

I have a workbook i built that changes and image based on a Validity list selection.
My Module used to have a different name, and my 2 macros also had different names.

I have since changed my Macros and renamed them. as follows
ChangePicture & Load_a_Picture
My module is called Module1, Old Module was setImage
Everytime i select an item from my Validity list i now get an error message pop up.

Below is the message i get, can anyone help me with this one, i can’t find any reference to the ‘setImage’ or the ‘onChangeValue’ could it be hidden somewhere and if so where would i find it.

A Scripting Framework error occurred while running the Basic script vnd.sun.star.script:Standard.setImage.onChangeValue?language=Basic&location=document.

Message: The following Basic script could not be found:
library: ‘Standard’
module: ‘setImage’
method: ‘onChangeValue’
location: ‘document’

Thank in advance for any help

Gregm66
Offline
Last seen: 11 hours 37 min ago
Title: ★★★
Joined: 30 Apr 2016
Posts: 42
stupid question after i read
stupid question after i read the error message sorry all.

let me re frase how can i access the vnd.sun.star.script file so that i can edit the entries of setImage and onChangeValue.

that should fix it i hope.

mark_t
Offline
Last seen: 8 hours 17 min ago
Title: ★★★★
Joined: 26 Apr 2016
Posts: 90
Check “Tools”, “Customise..”,
Check “Tools”, “Customise..”, then “Events” tab and see if you changed the assigned macro to the events when you changed your macro names.

It’s possible this still has your original macro names.

LibreOffice 5.1.3.2, Windows 8.1
Gregm66
Offline
Last seen: 11 hours 37 min ago
Title: ★★★
Joined: 30 Apr 2016
Posts: 42
Cheers I will have a look i
Cheers

I will have a look i was looking through stuff before could find anything will try again

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.