View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Paul W Smith[_2_] Paul W Smith[_2_] is offline
external usenet poster
 
Posts: 8
Default Excel Writing speed

I do not know if this helps, but if the entry you are making is causing a
slow recalculation, you can turn of calculation so that this does not slow
the process. When all your 'data transfer' has been done turn calculation
back to automatic and then one large recalculation would be done rather than
many slow individual ones.

Application.calculation = XlManual
Application.calculation = XlAutomatic

I do not know why your array test failed, but it is possible to write an
array of data to a similarly size range on a worksheet as one action.

An AArray(1 to 2, 1 to 2), which is a 2 x 2 array can be written to the
range("A1:B2") as one operation.

range("A1:B2") = AArray

Hope the above helps..... whenever I post a question here I try to assist
someone else!

Paul Smith


"Stef" wrote in message
...
Hi,

First thank everybody for your help with my previous
problems. Hope someday I will be able to help you back...

I am trying to improve my apps processing time. I would
like to know the "fastest" way to write in a workbook. I
already know the "screenupdating = false" way. I do not
know if we can transfert another way then one cell value
at a time... I heard that some people use array to
transfert data, unfortunatly my test with this method
failed.

I also have an app that is filling a range (cell by
cell). Do you know a way to fill the range and AFTER
having been filled, it write (like if you
would "disconnect" the range from the sheet so it will
not update at each change)?

Thanks again for your precious help