Welcome to the forum.
Maybe like this:
![]()
Option Explicit Const nQuest As Long = 50 Dim iQuest As Long Sub AskQuestion() iQuest = iQuest + 1 If iQuest > nQuest Then MsgBox "Done!" Else With Worksheets("test") .Range("B11").Value = iQuest .Range("C11").Value = QuArray(iQuest) End With End If End Sub Sub Submit() Worksheets("test").Range("D11:E11").ClearContents AskQuestion End Sub
Bookmarks