Hello,
I have been given the task of editing an existing macro, with close to no experience with macros or VBA.
What it is suppose to do is select and copy a certain range of cells and paste them to another range of cells. What I am suppose to figure out is, instead of making 30 of the same macros for 30 different cell ranges, how can the code be manipulated to work on any range of cells without me having to create several of the same macros. Below is the code I am trying to fix.
Thank you!
Sub Move1_1()
'
' Move1_1 Macro
'
'
Dim CR, PR As Range
Set CR = Range("Comp1_1")
Set PR = Range("Team1_1")
CR.Copy
PR.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
End Sub
Bookmarks