RosettaCodeData/Task/Repeat/VBA/repeat.vba

14 lines
216 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
Private Sub Repeat(rid As String, n As Integer)
For i = 1 To n
Application.Run rid
Next i
End Sub
Private Sub Hello()
Debug.Print "Hello"
End Sub
Public Sub main()
Repeat "Hello", 5
End Sub