Hi All,
Greetings!!
I have done with a small macro to get the random numbers as per the below script, where teh no is being generated in the cd_no column.
Sub vba_random_number()
Range("C6:c500") = WorksheetFunction.RandArray(500,1,7000,9000,True).
End Sub
But am looking for a macro in such a way where i can get the random date and random numbers from a single macro script for 500 rows
Can anyone help me on this.
Greetings!!
I have done with a small macro to get the random numbers as per the below script, where teh no is being generated in the cd_no column.
Sub vba_random_number()
Range("C6:c500") = WorksheetFunction.RandArray(500,1,7000,9000,True).
End Sub
But am looking for a macro in such a way where i can get the random date and random numbers from a single macro script for 500 rows
Can anyone help me on this.
Sno | cd_no | cd_dt |
1 | 6296 | 2000-05-22 |
2 | 8012 | 2000-05-22 |
3 | 6410 | 2000-05-22 |
4 | 6260 | 2000-05-22 |
5 | 6522 | 2000-05-22 |