The best resource for syntax is to use the help files in the editor. When you
are in the editor type list and then press F1. You will get an option of
looking at the information about Excel list or Office List. Choose the excel
one. This will give you the information about using list in your code.