I just want to know how Can I display an asterisk pattern like
if the user selects on the combobox.additem = 1 then it will display
*
**
***
**
*
If user selects combobox.additem= 2 then
*
**
***
**
*
**
***
**
*
then so on and so forth until combobox.additem =2
Following were the codes that I have used...
Thank YOu
Dim x As Integer
Dim y As String
Private Sub cmdCreate_Click()
y = "*"
Wave = cboWave.Text
If Wave = "1" Then
x = 5
Do
Print y
x = x - 1
y = y + "*"
Loop Until x = 2
End If
End Sub