one_more_cave_dweller
Board Regular
- Joined
- Sep 27, 2004
- Messages
- 118
I am trying to have a macro copy data when a workbook opens to another workbook but when I use this code nothing happens. HELP
Thanks
Sub Aut
Range("B2:B10").Select
Selection.Copy
Workbooks.Open Filename:="C:\Documents and Settings\Owner\Desktop\Book1.xls"
Sheets("Control").Select
Range("C2:C10").Select
ActiveSheet.Paste
ActiveWorkbook.Close True
.ScreenUpdating = True
.DisplayAlerts = True
End With
End Sub