Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default speed of processing

I am examining thousands or rows with my VBA. It is taking a long time. I
think most of it is visual processing. The processing is: examine a cell,
if applicable, copy that row to another sheet; repeat 5000 times. I placed
"Application.WindowState = xlMinimized" at the beginning, but Excel does not
minimize. Any help?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default speed of processing

As always, post your code. You are probably using a lot of unnecessary
selections when a loop would do

for i= 1 to 10000
if cells(i,1)="joe" then
next i

--
Don Guillett
SalesAid Software

"Chas" wrote in message
. ..
I am examining thousands or rows with my VBA. It is taking a long time. I
think most of it is visual processing. The processing is: examine a cell,
if applicable, copy that row to another sheet; repeat 5000 times. I placed
"Application.WindowState = xlMinimized" at the beginning, but Excel does
not minimize. Any help?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default speed of processing

Try this to suppress the screen updating (and speed up your code).

Application.screenupdateing = false
'Your code
application.screenupdating = true
--
HTH...

Jim Thomlinson


"Chas" wrote:

I am examining thousands or rows with my VBA. It is taking a long time. I
think most of it is visual processing. The processing is: examine a cell,
if applicable, copy that row to another sheet; repeat 5000 times. I placed
"Application.WindowState = xlMinimized" at the beginning, but Excel does not
minimize. Any help?



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default speed of processing

Thanks

"Jim Thomlinson" wrote in message
...
Try this to suppress the screen updating (and speed up your code).

Application.screenupdateing = false
'Your code
application.screenupdating = true
--
HTH...

Jim Thomlinson


"Chas" wrote:

I am examining thousands or rows with my VBA. It is taking a long time.
I
think most of it is visual processing. The processing is: examine a
cell,
if applicable, copy that row to another sheet; repeat 5000 times. I
placed
"Application.WindowState = xlMinimized" at the beginning, but Excel does
not
minimize. Any help?





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
Can you speed UP drag speed? Ryan W Excel Discussion (Misc queries) 1 October 24th 05 06:09 PM
how do i minimize/maximize a workbook from vba? I want to minimize it durring processing to speed things up a bit Daniel Excel Worksheet Functions 2 July 9th 05 03:35 AM
Free Tool (Add-in) To Speed Up Your Data Processing Danniel Chen Excel Worksheet Functions 0 May 23rd 05 09:11 PM
Data Processing Sedat Excel Programming 0 September 29th 03 05:22 PM
Data Processing Hande & Tolga[_2_] Excel Programming 1 September 16th 03 08:58 PM


All times are GMT +1. The time now is 12:09 AM.

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

About Us

"It's about Microsoft Excel"