Good morning all and thanks for your help.
I have this kind of problem:
I have a data in a Row "C" from line C4 to line C1500 in the Sheet "XXX" and I would like to read data, cell by cell. This reading must be done in the cell L30 every 5 seconds automatically.
I have this code that is working, but it runs too fast and I need it to be done slowly at list every 5 seconds .
Sub DATA_READ()
For MY_ROWS = 1 To Sheets("XXX").UsedRange.Rows.Count
Sheets("XXX").Range("L30").Value = Sheets("XXX").Range("C" & MY_ROWS).Value
'other code here
Next MY_ROWS
End Sub
regards,
Luigi
I have this kind of problem:
I have a data in a Row "C" from line C4 to line C1500 in the Sheet "XXX" and I would like to read data, cell by cell. This reading must be done in the cell L30 every 5 seconds automatically.
I have this code that is working, but it runs too fast and I need it to be done slowly at list every 5 seconds .
Sub DATA_READ()
For MY_ROWS = 1 To Sheets("XXX").UsedRange.Rows.Count
Sheets("XXX").Range("L30").Value = Sheets("XXX").Range("C" & MY_ROWS).Value
'other code here
Next MY_ROWS
End Sub
regards,
Luigi