Thank you I'll go see if this works for me!!!
Also to explain the 'paste' sheet:
I already have a workbook that has a bunch of macros activated anytime the paste sheet is changed. So really that moves all the data into other tabs.
Thank you I'll go see if this works for me!!!
Also to explain the 'paste' sheet:
I already have a workbook that has a bunch of macros activated anytime the paste sheet is changed. So really that moves all the data into other tabs.
![]()
Sub Runfolder() with Application .ScreenUpdating = False .EnableEvents = False c00 = .GetOpenFilename("*.xls, *.xls") for each fl in CreateObject("Scripting.FileSystemObject").getfolder(Replace(c00, Dir(c00), "")).files if instr(right(fl.name,4),"xls")>0 then with getobject(fl) .sheets("summary").usedrange.copy Workbooks(("Stats2011.xlsm").Sheets("Paste").cells(1) .close false End With end if next .EnableEvents = true end with End Sub
Last edited by snb; 06-22-2011 at 03:53 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks