kashif.special2005
Active Member
- Joined
- Oct 26, 2009
- Messages
- 443
Hi,
I wanted the output like this.
*
* *
* * *
* * * *
Thanks & Regards,
Kashif.
I wanted the output like this.
*
* *
* * *
* * * *
Thanks & Regards,
Kashif.
Function Stars(num&) As String
Dim i&
For i = 1 To num
Stars = Stars & String(i, "*") & vbNewLine
Next i
Stars = Left(Stars, Len(Stars) - Len(vbNewLine))
End Function