Managed to create a document by clicking on save button but...
One of the fields in Excel contains path to a file. It is correct as string, but Ito me it will be better if is was a link to file and actually opened file on click.
Is it possible to do from C#?
Here how it look (as example to explain what do Ihave right now, i understand that my english is near to trash level):
Microsoft.Office.Interop.Excel.Application excel = new Microsoft.Office.Interop.Excel.Application();
excel.Workbooks.Add();
Microsoft.Office.Interop.Excel._Worksheet workSheet = excel.ActiveSheet;
...
workSheet.Cells[row, "A"] = item.ActionType;
workSheet.Cells[row, "B"] = "sek: " + item.AfterClick.Seconds.ToString() + " msek: " + item.AfterClick.Milliseconds.ToString();
workSheet.Cells[row, "C"] = item.Time.ToLongTimeString();
workSheet.Cells[row, "D"] = "pic" + item.id.ToString();
workSheet.Cells[row, "E"] = string.Format(@"{0}\{1}\Pictures\pic{2}.jpeg", path, folder, item.id);
As you can see, the data on "E" should bve link to file instead of simple text.