Hi,
I get an error on the line " Range("range_mtl"
.Select " in the code below. It complains that "Method 'Range' of Object '_Global' failed.
***********************************
Windows(bh_report_filename).Activate
Names.Add Name:="range_mtl", RefersTo:="=MTL!" & "C2:" & "F" & row_mtl
Sheets("MTL"
.Activate
Range("range_mtl"
.Select
Selection.Copy
**********************************
I don't really understand why this is happening because if I just use "Range("range_mtl"
.Select without prefixing it with an object, shouldn't it just use the ActiveSheet object?
Any help would be much appreciated, thanks.
I get an error on the line " Range("range_mtl"
***********************************
Windows(bh_report_filename).Activate
Names.Add Name:="range_mtl", RefersTo:="=MTL!" & "C2:" & "F" & row_mtl
Sheets("MTL"
Range("range_mtl"
Selection.Copy
**********************************
I don't really understand why this is happening because if I just use "Range("range_mtl"
Any help would be much appreciated, thanks.