j = 0
For
i = 1
To
FragenOpt
frameMaker(i) = MultiPage1.Pages(nPageCnt).Controls.Add(
"Forms.Frame.1"
)
iAnzahlAntworten = Cells(i + 2, 4).Value
frameMaker(i).Top = 24 + (j * 60)
frameMaker(i).Left = 24
frameMaker(i).Height = 48
frameMaker(i).Width = 816
frameMaker(i).Caption = Cells(i + 2, 3).Value
Set
frameMaker(i) = MultiPage1.Pages(nPageCnt).Controls.Add(
"Forms.Frame.1"
)
Set
tebo(i) = frameMaker(i).Controls.Add(
"Forms.OptionButton.1"
)
tebo(i).Caption = i & Cells(i + 2, 5).Value
tebo(i).Top = frameMaker(i).Top + 25
tebo(i).Height = 20
tebo(i).Left = 100
tebo(i).Width = 100
j = j + 1
If
i
Mod
10 = 0
Then
nPageCnt = nPageCnt + 1
j = 0
End
If
Next