Hi,
I tried to copy a square with a product logo in it from one sheet to multiple sheets but failed. Here is the code:
Sub CopyOneToMany()
'On Error Resume Next
Dim rngarray As Variant
rngarray = Array("RegionAssignedAcctView", _
"RAMSummary", _
"GraphDisplayTC", _
"Graph_ALZ+_RAA1", _
"Graph_ALZ_Drill", _
"Display_Detail", _
"PayerbyGeography", _
"GraphDisplayMKT", _
"Graph_ALZ+_Drill", _
"Graph_ALZ_RAA1", _
"Graph_RAASumALZ+", _
"Graph_RAASumALZ")
For i = LBound(rngarray) To UBound(rngarray)
Sheets("sheet1").Shapes(1).Copy Sheets(rngarray(i)).Paste
Next
On Error GoTo 0
End Sub
Thanks in advance and Happy Holidays!
John
I tried to copy a square with a product logo in it from one sheet to multiple sheets but failed. Here is the code:
Sub CopyOneToMany()
'On Error Resume Next
Dim rngarray As Variant
rngarray = Array("RegionAssignedAcctView", _
"RAMSummary", _
"GraphDisplayTC", _
"Graph_ALZ+_RAA1", _
"Graph_ALZ_Drill", _
"Display_Detail", _
"PayerbyGeography", _
"GraphDisplayMKT", _
"Graph_ALZ+_Drill", _
"Graph_ALZ_RAA1", _
"Graph_RAASumALZ+", _
"Graph_RAASumALZ")
For i = LBound(rngarray) To UBound(rngarray)
Sheets("sheet1").Shapes(1).Copy Sheets(rngarray(i)).Paste
Next
On Error GoTo 0
End Sub
Thanks in advance and Happy Holidays!
John