Hi Kent,
Workbooks.Open "FilePathAndName.xls"
Instead of relying on the ActiveWorkbook, I prefer to use a direct reference:
Set oBook = Workbooks.Open(...)
'Do Stuff
oBook.Close SaveChanges:=True
Populate with some data from ADO calls...This populates up to 100 sheets
of data in each workbook.
This is where I'd imagine your problem lies, with a reference leaking out. If
you comment out those lines, does the rest work fine?
Alternatively, are there any other addins that might be hooking a
workbook_open event?
Regards
Stephen Bullen
Microsoft MVP - Excel
www.BMSLtd.co.uk