I have a Macro I copied from another post that when I run manually works just fine but when I try to set up an event to automatically run this macro on a Calc file when the file is finished loading (or on open), I get this error:
Sub showFileLocationInTitleBar(Optional pUrlStyle As Boolean)
Basic Runtime Error
Incorrect Property Value
I have tried setting up an event every way I could find in other posts but still get the error message but can run the macro manually and it works without errors.
What I really want to do is set this up to run on any Calc or Writer file I open and not have to set it up with each file as an event.
Any suggestions? I am on LO 7.6.2.1.