Hi,
in my application i'm transferring data from MS Access into pre-made Excel templates using datasets. I'm using the following code to start the excel application
than I can start filling up the templates with
objExcel.cells(theRowIndex, theColIndex) = theValue
But this works very slowly. He has to jump from one to another active cell in the open excelfile. And if somebody clicks in the excel file while filling it up, it crashes.
My question is: is it possible to fill up the excel file in the background without allready having to open the excel file physically. And showing all of it to the user when done with importing. I hope that this would work faster...
Thx.
in my application i'm transferring data from MS Access into pre-made Excel templates using datasets. I'm using the following code to start the excel application
VB.NET:
[size=2]objExcel = [/size][size=2][color=#0000ff]New[/color][/size][size=2] Excel.Application[/size]
[size=2][size=2]objExcel.Workbooks.Open(path)
objWorkSheet1 = objExcel.Worksheets(sheet)
objWorkSheet1.Select()
[/size][/size]
than I can start filling up the templates with
objExcel.cells(theRowIndex, theColIndex) = theValue
But this works very slowly. He has to jump from one to another active cell in the open excelfile. And if somebody clicks in the excel file while filling it up, it crashes.
My question is: is it possible to fill up the excel file in the background without allready having to open the excel file physically. And showing all of it to the user when done with importing. I hope that this would work faster...
Thx.