Sub Print1to10()
Dim i As Integer
For i = 1 To 10
Range("A" & i).Value = i
Next
End Sub
Dim i As Integer
For i = 1 To 10
Range("A" & i).Value = i
Next
End Sub
* Ques 01. What is the difference between ByVal and ByRef and which is default ? Ans- ByRef : If you pass an argument by reference when...
No comments:
Post a Comment