I use this code to freeze first row of the current sheet
doc = XSCRIPTCONTEXT.getDocument()
#sheets = doc.Sheets
#sh_actions = sheets['Actions']
#sh_base = sheets['Base']
doc.getCurrentController().freezeAtPosition(0,1)
But at the moment I have two sheets. One named ‘Base’ and one named ‘Actions’
In the ‘Actions’ sheet there is a button that will call the macro to insert the data in the ‘Base’ sheet and I want to freeze first row of the ‘Base’ sheet but without changing the focus of the ‘Actions’ sheet
How would i freeze first row of the ‘Base’ sheet through macro in python?