Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion ist in einigen Browsern möglicherweise nicht verfügbar.
'Excel starten, anzeigen und leere Mappe erstellen
Dim excelApp as new Excel.Application()
Dim excelBook as Excel.Workbook = excelApp.Workbooks.Add
Dim excelWorksheet as Excel.Worksheet = CType(excelBook.Worksheets(0), Excel.Worksheet)
excelApp.Visible = True
'Spaltenköpfe einrichten
Dim rng as Excel.Range = excelApp.Range("A1")
With rng
.ColumnWidth = 21.71
.Value = "Was?"
.Font.Bold = True
End With
rng = excelApp.Range("B1")
With rng
.ColumnWidth = 9
.HorizontalAlignment = Excel.Constants.xlRight
.Font.Bold = True
.Value = "Wo?"
End With
rng = excelApp.Range("C1")
With rng
.ColumnWidth = 9
.HorizontalAlignment = Excel.Constants.xlRight
.Font.Bold = True
.Value = "Wann?"
End With
'Eintragen der Werte
'Stellvertretend für deine Einträge:
Dim List as new ArrayList(25)
'Wir wollen bei Zeile 2 beginnen:
Dim i as Integer = 2 '
With excelWorksheet
Dim obj as Object
For Each obj in List
.Range("A" & i.toString).Value = CType(obj, String)
'usw....
i += 1
Next obj
EndWith