I am a new for excel, I have created excel spreadsheet with about 50 sheets with different names. I want to copy cell a5:a10
to all the sheets at cell b15:b20
.
I also want to delete cells a25:a35
from each sheet
at present I have written like this, but it is too much lengthy to include all the sheets. Is there any other short cut method which can copy and paste to all sheets..?
Sheets("Sheet1").Select
Range("a5:a10").Select
Selection.Copy
Sheets("Sheet2").Select
Range("b10:b20").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
The name of the sheets : sheet1, sheet2,sheet3....like that upto sheet50