Hallo,
kan nich ein simples Excel File wie ein Textfile erzeugen ?
Wie sieht so was als Code aus ?
thx
Hallo,
kan nich ein simples Excel File wie ein Textfile erzeugen ?
Wie sieht so was als Code aus ?
thx
Hallo
Eher nicht, aber du kannst über das Excel Objektmodell eines erzeugen.
Code:
Sub makeexcelfile()
Dim mexcel As Excel.Application
Dim mwb As Excel.Workbook
Set mexcel = New Excel.Application
Set mwb = mexcel.Workbooks.Add
mwb.SaveAs „c:\myworkbook.xls“
mwb.Close
mexcel.Quit
End Sub
gruss, Giuseppe
Eine .XLS Datei eher weniger. Du kannst aber eine .CSV Datei generieren - allerdings ohne Formatierungen und Formeln. Mit dieser Ascii-Datei kann ja Excel sehr wohl bekanntlich was anfangen…
greets from michL (vienna)
Hallo,
kan nich ein simples Excel File wie ein Textfile erzeugen ?
Wie sieht so was als Code aus ?
thx