panthere898
New Member
- Joined
- Apr 3, 2014
- Messages
- 3
I need to compare a series of part files that are all in multiple excel files and copy the part number and one set of x,y,z cordinates.
Here is the macro I recorded I just need to be able to select the file to input and past it in the next open cell in the column
Sub Part_Import()
'
' Part_Import Macro
' Imports Part
'
'
Workbooks.Open Filename:= _
"S:\"
Range("E10").Select
Selection.Copy
Windows("Part_Summary.xlsm").Activate
Range("A7").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, transpose:=False
Windows("Part_027_081313.xls").Activate
Range("J33:J35").Select
Selection.Copy
Windows("Part_Summary.xlsm").Activate
Range("B7").Select
Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _
False, transpose:=True
Windows("Part_027_081313.xls").Close
End Sub
Here is the macro I recorded I just need to be able to select the file to input and past it in the next open cell in the column
Sub Part_Import()
'
' Part_Import Macro
' Imports Part
'
'
Workbooks.Open Filename:= _
"S:\"
Range("E10").Select
Selection.Copy
Windows("Part_Summary.xlsm").Activate
Range("A7").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, transpose:=False
Windows("Part_027_081313.xls").Activate
Range("J33:J35").Select
Selection.Copy
Windows("Part_Summary.xlsm").Activate
Range("B7").Select
Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _
False, transpose:=True
Windows("Part_027_081313.xls").Close
End Sub