Created
June 7, 2017 18:58
-
-
Save harsha547/adec39036046886c80f7f6e07651b8fe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub Range() | |
Dim arr As Variant | |
arr = sharr.Range("A2:D11").Value | |
Dim i As Long , j As Long | |
For i = LBound(arr,1) To UBound(arr,1) | |
For j = LBound(arr,2) To UBound(arr,2) | |
arr(i,j) = arr(i,j) * 10 | |
Next j | |
Next i | |
sharr.Range("A2:D11").Offset(0,6).Value = arr | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment