I'm trying to loop thru each worksheet and set 100 rows of column A to the value of an input parameter. I want each sheet to call an input box and have the column's values equal to that input but what is happening is that the 1st worksheet is getting the last input and all the sheets values for columnA are blank except for sheet 1.
Dim wkbkorigin As Workbook
Set wkbkorigin = Workbooks.Open("C:\bookB.xls")
For Each ThisWorkSheet In wkbkorigin.Worksheets
Subject = InputBox("Enter the 'Subject' field for " & ThisWorkSheet.Name & ":")
For i = 1 To 100
Range("A2").Cells(i, 1) = Subject
Next
Next