asked on
Workbooks.Open Filename:= _
FILETOCOPY
Sheets("SHEETTOCOPY").Copy After:=Workbooks( _
"DESTINATIONFILE.EXT").Sheets("Sheet1")
Windows("FILETOCOPY.EXT").Activate
ActiveWindow.Close
This would copy in the entire sheet, and you can do an array of sheets as well, or you can just c/p into an existing sheet: Workbooks.Open Filename:= _
FILETOCOPY
Sheets("SHEETTOCOPY").Select
Cells.Copy
Worksbooks("DESTINATIONFILE.EXT").Activate
Sheets("DESTIONATIONSHEET").Select
[a1].PasteSpecial xlPasteValues
Application.CutCopyMode = False
ASKER
Microsoft Excel topics include formulas, formatting, VBA macros and user-defined functions, and everything else related to the spreadsheet user interface, including error messages.
TRUSTED BY
ASKER