You are not logged in.
This forum has been archived and no longer accepts new user registrations. Please report your questions, problems, and feedback to the issue page of ReoGrid on GitHub. Thank you for your cooperation.
Pages: 1
Topic closed
Hello, i'm from russia.(sorry, my english very bad)
I need save table in exel format, but i not found this in russian documentation.
This code save in *.rgf
Dim dlgExport As New SaveFileDialog
With dlgExport
.Title = "Сохраняем в формате rgf"
.DefaultExt = "rgf"
.Filter = "Книга Reogrid (rgf)|*.rgf"
.FileName = Application.StartupPath
.ShowDialog()
rgrid.CurrentWorksheet.Save(.FileName)
End With
Offline
MyOnAsSalat,
You can only save the entire workbook and not worksheets using the xlxs file format. To do that you need to use this code
This will save the file.
Dim dlgExport As New SaveFileDialog
With dlgExport
.CheckFileExists = True
.CheckPathExists = True
.Title = "Save"
.DefaultExt = "xlsx"
.Filter = "Excel Workbook|*.xlsx"
.FileName = Application.StartupPath
End With
If dlgExport.ShowDialog = true then
workbook.Save(.FileName, IO.FileFormat.Excel2007)
End If
Check this Documentation http://reogrid.net/v0-8-8/excel-file-format/
Offline
Thanks asparatu, nice answer!
Offline
Pages: 1
Topic closed