title: how to write an array into an XLSX sheet using openpyxl
body: <pre><code>def save_data():
      wb = openpyxl.Workbook()
      print(entryArray)
      for b in range(len(entryArray)):
          temp = entryArray[b]
          wb.cell(row=b+1, column=1).value = temp
      wb.save('/home/'+getpass.getuser()+'/Desktop/FileName.xlsx')
  </code></pre>
  
  <p>i get the error message</p>
  
  <pre><code>  File "C:/Users/thoma/ownCloud/Computer Science/Project/Psudo code/1.2/Project 404.py", line 292, in &lt;module&gt;
      save_data()
    File "C:/Users/thoma/ownCloud/Computer Science/Project/Psudo code/1.2/Project 404.py", line 258, in save_data
      wb.cell(row=b+1, column=1).value = temp
  AttributeError: 'Workbook' object has no attribute 'cell'
  </code></pre>
  
  <p>this is the value of entryArray:
  ['58578', '876', '66', '98', '807', '78907', '90', '078907', '8967', '760', '658', '467', '58346', '54', '65', '785', '896', '9-08', '-980', '456', '456', '09', '87', '89', '765', '765', '765', '765']</p>
  
  <p>how do I create an XLSX sheet then write these values into it using openpyxl. the XLSX sheet does not exist I need to create it during the functions running.</p>
  
  <p>thanks in advance</p>