Excelからwebサイトへ転記

RPA初心者です。わかりにくかったら申し訳ございません。
Excelに記載してある商品一覧(datatable:tyumondata)を、webサイトへ転記し、発注処理の業務をRPA化しようとしています。
Excel内の商品一覧は、発注を行う品番とカラーごとで1行ずつ記載されています。
webサイト上で一度に発注可能な商品数は9つです。そのため、Excel内の商品一覧の商品数が9つ以上であれば、10つ目からは、「発注」というボタンを押した後、次の画面で商品の入力を行いたいです。
現時点で、やってみたことは、「繰り返し処理」に「文字を入力」をいれ、そこに、下記を入力していきました。rowsの()内は、行を指定しています。しかしこれだと、商品一覧の9行までしか発注できません。
tyumondata.rows(1).item(“品番”).ToString()

どんな流れにすればよいのかわからず、ご教授いただけませんでしょうか。
よろしくお願いいたします。

Hi @YYYYYYY
Your Task is Like, If the product list rows are greater than 9 you need to click on next window is that right ?

ご認識されている通りです。(That’s right.)

okay then
Have you tried to get the count of the rows in excel and giving a if condition to it
i.e,
Product List is the list of rows in Excel right?
If Yes, You can do like

  1. Read Range and store to a variable “DT”
  2. If DT.Rows.Count>9
    Then Click on the Next Window
    Else Continue on process

If No ,It is in the Website ?
If Yes.

  1. Data Scrapping store to a variable “DT”
  2. If DT.Rows.Count>9
    Then Click on the Next Window
    Else Continue on process

Regards
Sudharsan

1 Like

ご回答いただきありがとうございます!
条件分岐で、Excelの行数が9以上は次のサイトにいくこと、理解しました。
やってみます!

Okay :+1: