Fast writing in worksheets

  • Thread starter Thread starter Kenshyuri
  • Start date Start date
K

Kenshyuri

I made a tool for parsing data from a text file, the parsing is quit
fine but
it takes time for excel to format and write the text in th
worksheet... :confused:

Is there any to "double-buffer" this, or disable the update unti
you've finished...
 
use an intermediate array.
then dump the array in a range. (with same size as array)

OR
disable calculation,screenupdating,displaypagebreaks




keepITcool

< email : keepitcool chello nl (with @ and .) >
< homepage: http://members.chello.nl/keepitcool >
 
Hi Friend,

You can make calculation Manual and past or write values in worksheet.
by the following vba code

Application .Calculation = xlManual
Application.ScreenUpdating = False

after your data complete set back to normal by following code

Application .Calculation = xlAutomatic
Application.ScreenUpdating = True

I hope you enjoy this.

Take care
S.Suresh

Bye by
 
Neat trick! The speed increase was twofold on many of my macros! Thanks
:)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top