![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi to all, I'm using Excel and VBA as reporting tool for AS. The process of filling the Excel worksheets with headers and data is very slow (about ten seconds for 10 cols and 20 rows). I use the Sheets(index).cells(indRow, indCol)= value method. Is there a fastest way to perform this operation. Thanks in advance Massi |
#3
| |||
| |||
|
|
You can speed it up significantly by populating an array, then placing the results onto the worksheet as a single operation. tom @ the domain below www.tomchester.net "Massi" <massi (AT) tiscali (DOT) it> wrote in message news:Ot2RTB$iDHA.2404 (AT) TK2MSFTNGP12 (DOT) phx.gbl... Hi to all, I'm using Excel and VBA as reporting tool for AS. The process of filling the Excel worksheets with headers and data is very slow (about ten seconds for 10 cols and 20 rows). I use the Sheets(index).cells(indRow, indCol)= value method. Is there a fastest way to perform this operation. Thanks in advance Massi |
#4
| |||
| |||
|
|
Can I also format the cells in the same single step? Thanks Tom "Tom Chester" <publicNOSPAM (AT) tomchester (DOT) net> ha scritto nel messaggio news 8fgb.155$gG3.9981 (AT) news (DOT) uswest.net...You can speed it up significantly by populating an array, then placing the results onto the worksheet as a single operation. tom @ the domain below www.tomchester.net "Massi" <massi (AT) tiscali (DOT) it> wrote in message news:Ot2RTB$iDHA.2404 (AT) TK2MSFTNGP12 (DOT) phx.gbl... Hi to all, I'm using Excel and VBA as reporting tool for AS. The process of filling the Excel worksheets with headers and data is very slow (about ten seconds for 10 cols and 20 rows). I use the Sheets(index).cells(indRow, indCol)= value method. Is there a fastest way to perform this operation. Thanks in advance Massi |
#5
| |||
| |||
|
|
Hi to all, I'm using Excel and VBA as reporting tool for AS. The process of filling the Excel worksheets with headers and data is very slow (about ten seconds for 10 cols and 20 rows). I use the Sheets(index).cells(indRow, indCol)= value method. Is there a fastest way to perform this operation. Thanks in advance Massi |
![]() |
| Thread Tools | |
| Display Modes | |
| |