title: Accessing Cells with Sheetjs
body: <p>I followed the demo here:
  <a href="https://github.com/SheetJS/js-xlsx/tree/master/demos/electron" rel="noreferrer">https://github.com/SheetJS/js-xlsx/tree/master/demos/electron</a></p>
  
  <p>I'm able to drag an excel file into my electron app.</p>
  
  <p>The <a href="https://github.com/SheetJS/js-xlsx#common-spreadsheet-format" rel="noreferrer">documentation </a> says, you can access every cell with:</p>
  
  <pre><code>for(var R = range.s.r; R &lt;= range.e.r; ++R) {
    for(var C = range.s.c; C &lt;= range.e.c; ++C) {
      var cell_address = {c:C, r:R};
      /* if an A1-style address is needed, encode the address */
      var cell_ref = XLSX.utils.encode_cell(cell_address);
    }
  }
  </code></pre>
  
  <p>How do I use it with my Code below? I got the content of the file stored in my test variable, but I'm not able to access it. The documentation lack of information there.</p>
  
  <pre><code>var do_file = (function() {
      return function do_file(files) {
          var f = files[0];
          var reader = new FileReader();
          reader.onload = function(e) {
              var data = e.target.result;
              data = new Uint8Array(data);
              test = XLSX.read(data, {type: 'array'});
              console.log(test);
          };
          reader.readAsArrayBuffer(f);
      };
  })();
  </code></pre>
  
  <p>I got no clue how to start with it, thanks in advance</p>