Quantcast
Channel: UiPath Community Forum - Topics tagged error
Viewing all articles
Browse latest Browse all 4384

Erros message: If Column X: There is no row at position XX

$
0
0

@sspi1153 wrote:

Hello,
I am trying to read and pull one DB trought if statement in order to test if cell is not empty.
dt_SLB_Page1.Rows(int_counter_row).Item(0).toString <>"" And dt_FI_Page1.Rows(int_counter_row).Item(0).toString <>""

If column is not empty in both of tables, then I am comparing them. If not, I am writing not empy one in excel:
Write Cell (dt_SLB_Page1.Rows(int_counter_row).Item(0).toString +dt_FI_Page1.Rows(int_counter_row).Item(0).toString).

Somehow I am getting thrown out at, with an error message:
If Column H: There is no row at position 61.

The column is empty indeed. There is no value, but it not the first empty column. Why is this happening and how to avoid this?

Second problem is, that cell written down trough else stemement - (when value is available only in one column) is saved in exel as text format. How can I change them to be saved as numebr format?
(dt_SLB_Page1.Rows(int_counter_row).Item(0).toString +dt_FI_Page1.Rows(int_counter_row).Item(0).toString)

Thanks!

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4384

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>