Write data to Excel
Write to an Excel-file. If file not excist, the file is created based on user input in the filename(xls, xlsx, xlsm...).
If the sheet not excist, the sheet is created. Range can be given as single cell, and the function calculate what range to write to. Otherwise the absolut range that fits the matrix size must be given in.
Default is that file is on current path, if optional path-values is given file is open outside the path, and created if not excist allready.
Comments are hastly translate an error control is done to some exstent.