Michael hinz How can i split the view in four tiles /* get the desktop (an Xdesktop object) */ oDesktop = UNO.createDesktop() xComponentLoader = oDesktop~{%see com.sun.star.frame.XDesktop%XDesktop}~{%see com.sun.star.frame.XComponentLoader%XComponentLoader} --get componentLoader interface /* open a blank calc file */ url = "private:factory/scalc" xCalcComponent = xComponentLoader~loadComponentFromURL(url, "_blank", 0, .UNO~noProps) /* get first and third sheet in spreadsheet */ xDocument = xCalcComponent~{%see com.sun.star.sheet.XSpreadsheetDocument%XSpreadSheetDocument} xSheet = xDocument~getSheets~{%see com.sun.star.container.XIndexAccess%XIndexAccess}~getByIndex(0)~{%see com.sun.star.sheet.XSpreadsheet%XSpreadSheet} xSheet1 = xDocument~getSheets~{%see com.sun.star.container.XIndexAccess%XIndexAccess}~getByIndex(2)~{%see com.sun.star.sheet.XSpreadsheet%XSpreadSheet} /*get controller from the Xmodel to manipulate view*/ xController = xDocument~{%see com.sun.star.frame.XModel%XModel}~getCurrentController CALL syssleep 5 /*focus on new sheet and split view*/ xSpreadsheetView = xController~{%see com.sun.star.sheet.XSpreadsheetView%xSpreadsheetView}~setActiveSheet(xSheet1) xSpreadsheetsplit = xController~{%see com.sun.star.sheet.XViewSplitable%XViewSplitable}~splitAtPosition(400, 200) ::requires UNO.CLS -- get UNO support