OleMiss2010
Member
This is the very beginning of a code I have started. My error comes when I am trying to put the value for IssueNum in the correct cell. That value Should go in Column A with the first instance in Row 2, the second instance in Row 6, the third in Row 10, etc. This is where I am getting an error. Any advice?
[pre]
[/pre]
[pre]
Code:
Sub Issues()
Dim IssueNum As Integer
Dim NumIssues As Integer
NumIssues = Application.InputBox("How many issues need to be addressed?")
For IssueNum = 1 To NumIssues
If IssueNum = 1 Then
Cells("2", "1").Value = IssueNum
Else
Cells(0.25 * IssueNum - 2, "1").Value = IssueNum
End If
IssueSub = Application.InputBox("For issue " & IssueNum & ", what is the subject of this issue?")
Next IssueNum
End Sub