Hi there!
Can someone please help me with the code below? I am simplely setting values from several worksheets to update into one (really copying). I get the "Run-time error '9' Subscript out of range on VBA script"on the lines that are 'not commented out'. The lines that are commented it out seem to have set/copied correctly. What should I do?
Thanks,
A
Can someone please help me with the code below? I am simplely setting values from several worksheets to update into one (really copying). I get the "Run-time error '9' Subscript out of range on VBA script"on the lines that are 'not commented out'. The lines that are commented it out seem to have set/copied correctly. What should I do?
Code:
Sub CopyPerThreadValuesForSites()
'Worksheets("Integration").Range("I3:Q3").Value = Worksheets("SS").Range("F61:N61").Value
Worksheets("Integration").Range("I6:Q6").Value = Worksheets("MS").Range("E65:M65").Value
'Worksheets("Integration").Range("I9:Q9").Value = Worksheets("WS").Range("F72:N72").Value
Worksheets("Integration").Range("I12:Q12").Value = Worksheets("DS").Range("E66:M66").Value
'Worksheets("Integration").Range("I15:Q15").Value = Worksheets("VL").Range("D54:L54").Value
'Worksheets("Integration").Range("I18:Q18").Value = Worksheets("SO").Range("E73:M73").Value
'Worksheets("Integration").Range("I21:Q21").Value = Worksheets("SR").Range("E66:M66").Value
End Sub
Thanks,
A