title: Card Reader Excel timetable
body: <p>I would like to prevent the looping and when i display the card. It should only display my name once and my friends name one. It is constant looping now.</p>
  
  <p>This is what i have declared</p>
  
  <pre><code>int row = 2;
  int count = 0;
  int num = 0;
  int name = 0;
  bool=false;
  if (CardReader.CANSnr.Equals("8009140003484246")) 
  {
      scan = true;
      textBox1.Text = "Welcome Back";
      textBox2.Text = "Jonathan";
      DateTime theDate = DateTime.Now;
      string todaysDate = theDate.ToString("d");
      string todaysTime = theDate.ToString("T");
      //add Data to to cells
      excell_app.addData(row, 1, "Jonathan", "A1", "A1", "#,##0");
      excell_app.addData(row, 2, "1", "B1", "B1", "");
      excell_app.addData(row, 3, todaysDate, "C1", "C1", "#,##0");
      excell_app.addData(row, 4, todaysTime, "D1", "D1", "#,##0");
      row++;
  }
  </code></pre>