Sub BaseSalesByGeo()
Dim strFile As String, strPath As String
Dim wsDest As Worksheet, wbSource As Workbook
Application.ScreenUpdating = False
'
Set wsDest = ActiveSheet
strPath = "S:\Accounting\Oesch\StrategicPlan\"
strFile = Dir(strPath & "strategic*.xls")
ActiveSheet.Unprotect
'
Range("W17:AC17,W21:AC21,W25:AC25,W31:AC31,W35:AC35,W42:AC42").Select
Selection.ClearContents
' Consolidate USA Sales
Do Until strFile = ""
Set wbSource = Workbooks.Open(strPath & strFile)
wbSource.Sheets("Base LOB Plan").Range("W17:AC17").Copy
wsDest.Range("W17").PasteSpecial Paste:=xlPasteValues, Operation:=xlAdd, _
SkipBlanks:=True, Transpose:=False
wbSource.Close SaveChanges:=False
strFile = Dir()
Loop
'
' Consolidate Americas Sales
Set wsDest = ActiveSheet
strPath = "S:\Accounting\Oesch\StrategicPlan\"
strFile = Dir(strPath & "strategic*.xls")
Do Until strFile = ""
Set wbSource = Workbooks.Open(strPath & strFile)
wbSource.Sheets("Base LOB Plan").Range("W21:AC21").Copy
wsDest.Range("W21").PasteSpecial Paste:=xlPasteValues, Operation:=xlAdd, _
SkipBlanks:=True, Transpose:=False
wbSource.Close SaveChanges:=False
strFile = Dir()
Loop
'
' Consolidate Europe Sales
Set wsDest = ActiveSheet
strPath = "S:\Accounting\Oesch\StrategicPlan\"
strFile = Dir(strPath & "strategic*.xls")
Do Until strFile = ""
Set wbSource = Workbooks.Open(strPath & strFile)
wbSource.Sheets("Base LOB Plan").Range("W25:AC25").Copy
wsDest.Range("W25").PasteSpecial Paste:=xlPasteValues, Operation:=xlAdd, _
SkipBlanks:=True, Transpose:=False
wbSource.Close SaveChanges:=False
strFile = Dir()
Loop
'
' Consolidate Japan Sales
Set wsDest = ActiveSheet
strPath = "S:\Accounting\Oesch\StrategicPlan\"
strFile = Dir(strPath & "strategic*.xls")
Do Until strFile = ""
Set wbSource = Workbooks.Open(strPath & strFile)
wbSource.Sheets("Base LOB Plan").Range("W31:AC31").Copy
wsDest.Range("W31").PasteSpecial Paste:=xlPasteValues, Operation:=xlAdd, _
SkipBlanks:=True, Transpose:=False
wbSource.Close SaveChanges:=False
strFile = Dir()
Loop
'
' Consolidate Asia Pacific Sales
Set wsDest = ActiveSheet
strPath = "S:\Accounting\Oesch\StrategicPlan\"
strFile = Dir(strPath & "strategic*.xls")
Do Until strFile = ""
Set wbSource = Workbooks.Open(strPath & strFile)
wbSource.Sheets("Base LOB Plan").Range("W35:AC35").Copy
wsDest.Range("W35").PasteSpecial Paste:=xlPasteValues, Operation:=xlAdd, _
SkipBlanks:=True, Transpose:=False
wbSource.Close SaveChanges:=False
strFile = Dir()
Loop
'
' Consolidate China Sales
Set wsDest = ActiveSheet
strPath = "S:\Accounting\Oesch\StrategicPlan\"
strFile = Dir(strPath & "strategic*.xls")
Do Until strFile = ""
Set wbSource = Workbooks.Open(strPath & strFile)
wbSource.Sheets("Base LOB Plan").Range("W42:AC42").Copy
wsDest.Range("W42").PasteSpecial Paste:=xlPasteValues, Operation:=xlAdd, _
SkipBlanks:=True, Transpose:=False
wbSource.Close SaveChanges:=False
strFile = Dir()
Loop
'
ActiveSheet.Protect
Range("A1").Select
'
' Application.ScreenUpdating = True
MsgBox "Consolidation Complete"
End Sub