Hello, thank you very much for your answer last time it helped me a lot. I have another question? Do you know how I can send data from a Google sheet to the BAS database? Thank you so much!!
@yourfriendkarol
This code contains an event handler. It should be added to the page before it is downloaded (preferably). Use "Browser -> execute every time the page loads". From "Tools -> execute the code" access to the root object "windows" is not. From this error there is - no "windows.document"