VBA Do Until Loop

Post date: Feb 19, 2020 7:53:16 AM

https://www.educba.com/vba-do-until-loop/

Sub Do_Until_Ex2() Dim Y As Long Y = 1 Do Sheets("Example 2").Cells(Y, 1).Value = Y * Y Y = Y + 1 Loop Until Y = 11 End Sub