Dear friends
I am looking for a macro which would convert a copied range of cells into thousands (in values) in another sheet. I frequently copy and paste values, and then perform a pastespecial function by dividing by 1000. I tried to record a macro to do this, but to no avail.
May I request your assistance in this.
The code that I recorded is as follows, but it does not run appropriately.
Thanks in advance
Regards
monish_rk
I am looking for a macro which would convert a copied range of cells into thousands (in values) in another sheet. I frequently copy and paste values, and then perform a pastespecial function by dividing by 1000. I tried to record a macro to do this, but to no avail.
May I request your assistance in this.
The code that I recorded is as follows, but it does not run appropriately.
Thanks in advance
Regards
monish_rk
Code:
Sub Macro1()
'
' Macro1 Macro
'
'
'
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Application.CutCopyMode = False
Selection.FormulaR1C1 = "=R[-3]C/1000"
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Application.CutCopyMode = False
End Sub