hi,
i recored a macro that multiplies a column by 1. this macro simply copies a cell containing the digit 1 and uses the multiply option in the paste special tool.
however i want to hard code the digit 1 to vba code so as to avoid the selection.copy
any ideas...
below is the code i am currently using:
Range("I1"
.Select
Selection.Copy
Range("F2"
.Select
Range(Selection, Selection.End(xlDown)).Select
Selection.PasteSpecial Paste:=xlAll, Operation:=xlMultiply, SkipBlanks:= _
False, Transpose:=False
Application.CutCopyMode = False
cheers...
i recored a macro that multiplies a column by 1. this macro simply copies a cell containing the digit 1 and uses the multiply option in the paste special tool.
however i want to hard code the digit 1 to vba code so as to avoid the selection.copy
any ideas...
below is the code i am currently using:
Range("I1"
Selection.Copy
Range("F2"
Range(Selection, Selection.End(xlDown)).Select
Selection.PasteSpecial Paste:=xlAll, Operation:=xlMultiply, SkipBlanks:= _
False, Transpose:=False
Application.CutCopyMode = False
cheers...