Posted 23 July 2019, 4:10 am EST
My databas have about 1000 line in first level. but in levels under I have about 50 000 rows.
When I run the the code below it’s take about 10 minut.
Is there some other way to do this that will not take so long time?
For i = 0 To FpSpread1.ActiveSheet.RowCount - 1
If FpSpread1.ActiveSheet.GetChildView(i, 0).RowCount = 0 Then FpSpread1.ActiveSheet.SetRowExpandable(i, False)
Next