hi,
WOW!
They sound like big spreadsheets - perhaps some of the people on here could help you optimise your formulae too. Have you looked at Charles Williams' http://www.decisionmodels.com/optspeed.htm site?
Your use of ".activate" is likely to have a significant impact on your file speed too. Here's an example that explicitly references the ranges right up to the workbook level, thus removing the need for ".activate". I haven't tested it on any files of the size you've mentioned, but the concept may still work...
Sub PerhapsAFasterApproach()
'the rest of your declarations...
'dim...
Dim SrceRng As Range
Dim DestRng As Range
'initial code...
'identify the ranges
With Workbooks(SourceWorkbooks).Worksheets(SourceTab)
Set SrceRng = .Range(.Cells(SrceRowNumB, SrceColNumB), .Cells(SrceRowNumE, SrceColNumE))
End With
With Workbooks(TargetWorkbooks).Worksheets("Target")
Set DestRng = .Range(.Cells(TgtRowNumB, TgtColNumB), .Cells(TgtRowNumE, TgtColNumE))
End With
'transfer the values
DestRng.Value2 = SrceRng.Value2
'free memory
Set SrceRng = Nothing
Set DestRng = Nothing
End Sub
hth
Rob
Bookmarks