[SOLVED] Basic, Macro in Calc - insert page/row break

Hello Comrades,
does anyone know how to insert page break (reow break) in Basic code?

Thanks!

I have found solution on another forum.

Source:

Dim Sheet As Object

Sheet = ThisComponent.Sheets(0)
Sheet.Rows(i).IsStartOfNewPage = true