if ($answer_counter == 1): ?>
endif; ?>
Here's one way to iterate through the windows of the active workbook, set each to a particular sheet, and put a specific cell in the top left corner.
Sub Arrange_windows()
'declarations
Dim a As Integer
'loop through all windows of the active workbook
'count backward so we end up with the windows arranged from
'1ow to high after we arrange them at the end
'"arrange" sequences windows from most recently active to least recently active
For a = ActiveWorkbook.Windows.Count To 1 Step -1
'For a = 1 To ActiveWorkbook.Windows.Count
'activate window a
ActiveWorkbook.Windows(ActiveWorkbook.Name & ":" & a).Activate
'activate sheet a in the active window
ActiveWorkbook.Sheets(a).Select
'add logic here to decide what to do in the active window
'one possibility is a "Select Case" statement:
Select Case ActiveWindow.Index
Case 1:
ActiveWorkbook.Sheets("Sheet1").Select
Application.Goto Reference:=Range("$A$1"), Scroll:=True
Case 2:
ActiveWorkbook.Sheets("Sheet2").Select
Application.Goto Reference:=Range("$D$15"), Scroll:=True
Case Else:
'do nothing
End Select
Next a
'arrange the windows sequentially from most
'recently active to least recently active
ActiveWorkbook.Windows.Arrange (xlArrangeStyleTiled)
End Sub