yep. typo. mea culpa:
For i = 1 To 10
With .Controls.Add(Type:=msoControlButton, temporary:=True)
.Caption = "Button " & i
End With
Next
--
keepITcool
|
www.XLsupport.com | keepITcool chello nl | amsterdam
ilyaskazi wrote :
there is something expected=
for i=1 to 10
.controls.add(Type:=msoControlButton,temporary:=tr ue)
.caption = "Button " & i
next
i m receiving compile error msg.
help me with editing my above given original code and post here plz.