/* Gruppe 1 /* Termin 4 - Programm 2 */ */ excelApplication = .OLEObject~new("Excel.Application") excelApplication~visible = .true workbook = excelApplication~workbooks~add worksheet = workbook~worksheets(1) worksheet~range("A1:C3")~Formula = "=Zufallszahl()" border = worksheet~range("A1:C3")~Borders border~LineStyle = 1 border~Weight = 2 workbook~SaveAs("C:\Users\morit\Desktop\Arbeitsmappe.xlsx") excelApplication~Quit