title: what's the meaning of listcount -1
body: <p>I've been searching on the internet trying to find what the meaning of <code>listcount -1</code> is, but i can't seem to find the exact answer. </p>
  
  <p>why is there <code>-1</code> beside the listcount? or <code>.list(.listcount -1,1)</code> what is that mean?</p>
  
  <p><strong>edit</strong></p>
  
  <p>example of the listcount</p>
  
  <p><code>.additem a.value</code></p>
  
  <p><code>.list(.listcount -1, 1) = ws.cells(A,B).value</code></p>
  
  <p>this adds the value of <code>ws.cells(A,B)</code> to the listbox1 but i don't understand why/how? </p>
  
  <p>or i found a <code>code</code> on the internet <a href="http://www.ozgrid.com/VBA/multi-select-listbox.htm" rel="nofollow">http://www.ozgrid.com/VBA/multi-select-listbox.htm</a></p>
  
  <p>i understand that the purpose of the code is "if one of the list is selected, then transfer the value of listbox into cells" but why is there <code>.Listbox1.Listcount -1</code>? </p>