Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Fast writing in worksheets


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...

Is there any to "double-buffer" this, or disable the update unti
you've finished...

--
Kenshyur
-----------------------------------------------------------------------
Kenshyuri's Profile: http://www.excelforum.com/member.php...fo&userid=1571
View this thread: http://www.excelforum.com/showthread.php?threadid=27241

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default Fast writing in worksheets


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


Kenshyuri wrote:


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

Is there any to "double-buffer" this, or disable the update until
you've finished....



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Fast writing in worksheets


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

--
s_u_res
-----------------------------------------------------------------------
s_u_resh's Profile: http://www.excelforum.com/member.php...fo&userid=1567
View this thread: http://www.excelforum.com/showthread.php?threadid=27241

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Fast writing in worksheets


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


--
ob3ron02
------------------------------------------------------------------------
ob3ron02's Profile: http://www.excelforum.com/member.php...o&userid=15450
View this thread: http://www.excelforum.com/showthread...hreadid=272413

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
fast way creating multiple worksheets with same format in excel? linikoo Excel Discussion (Misc queries) 2 March 19th 08 03:20 PM
Writing Fast VBA UDFs - London july19/20 Charles Williams Excel Discussion (Misc queries) 2 May 2nd 06 10:43 PM
Writing Fast VBA UDFs - London july19/20 Charles Williams Excel Worksheet Functions 2 May 2nd 06 10:43 PM
Fast reading/writing of CSV files Chris Jakeman Excel Programming 2 August 6th 04 10:29 AM
Reading and writing from/into several worksheets Chris Excel Programming 3 December 4th 03 08:24 PM


All times are GMT +1. The time now is 11:33 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"