Hello,
I have met a problem during DataTable creation and filling it with random numbers. I’m trying to fill in DataTable with random numbers and no error occurs, but DataTable contains in every row the same value. I wrote results in ExcelSheet but here the same. However, when i turn on Debugging Mode the values are different and indeed are random. When I’ve opened sheet after debugging they are also random. Same when I put Message Box after Assign so the problem is surely not in WriteRange. Where is the problem? Screenshot