Code:
Public col, nmb, x, y, z As Variant
Public hw(17) As Variant
Public buses(17, 200), sht, dt, nme, per, rnk As String
'
'
'
' Function Makelist
' Updated by DEE 5/10/1999
'
Sub Makelist()
sht = ActiveSheet.Name
col = 1
msg = "Would you like to print individual Regions for " + Format(sht, "mmmm yyyy") + "?"
Style = vbYesNoCancel + vbQuestion + vbDefaultButton1
Title = "What is your bidding, master?"
response = MsgBox(msg, Style, Title)
If response = vbCancel Then End
If response = vbYes Then
dist = InputBox(Title:="Single Region Printing", prompt:="Which Region?", default:="1")
If dist = "" Or Val(dist) > 4 Then End
z = Val(dist)
all = False
Else
all = True
End If
whosename
Sheets(Format(sht, "mmmm yyyy")).Select
If Not all Then
z = Val(dist)
Gather
ElseIf all Then
For z = 1 To 4
Gather
Next z
End If
'
' Clear Details
Comment