PC Review


Reply
 
 
Jim Berglund
Guest
Posts: n/a
 
      26th May 2010
My applet is complete. It works and all the data gets formatted correctly.
Thanks to all of you that helped me through this.

However, it's not all that pretty....

I'm getting "Not Responding" messages, Blue screen, screen flashing, etc. My
progress bar doesn't want to stay on top, and it takes 4 minutes to run (not
that bad - I'm running a match of 6000 numbers against a data set of 500,000
numbers.

I'd be pleased to send the code and data; if someone would look at the code,
try to run it against my data, and offer advice, I'd be very grateful.

Jim Berglund
(E-Mail Removed)

 
Reply With Quote
 
 
 
 
Per Jessen
Guest
Posts: n/a
 
      27th May 2010
Hi Jim

To stop screen flashing, turn off screenupdating. Depending on what
your macro does, you might be able to turn off calculation. If you are
activating sheets, and selecting cells, it will also slow down your
code.

Sub MySub
With Application
.Screenupdating=False
.Calculation=xlmanual
End with

Worksheets("Sheet1").Range("A1")="Test"
' The statement above is much faster than the statement(s) below:
Worksheets("Sheet1").Select
Range("A2").Select
ActiveCell="Slow Test"

With Application
.Screenupdating=True
.Calculation=xlautomatic
End with
End Sub

If you need further help you can send me the workbook as a zip file.

Best regards,
Per

On 27 Maj, 00:34, "Jim Berglund" <jazz...@shaw.ca> wrote:
> My applet is complete. It works and all the data gets formatted correctly.
> Thanks to all of you that helped me through this.
>
> However, it's not all that pretty....
>
> I'm getting "Not Responding" messages, Blue screen, screen flashing, etc. My
> progress bar doesn't want to stay on top, and it takes 4 minutes to run (not
> that bad - I'm running a match of 6000 numbers against a data set of 500,000
> numbers.
>
> I'd be pleased to send the code and data; if someone would look at the code,
> try to run it against my data, and offer advice, I'd be very grateful.
>
> Jim Berglund
> jim.bergl...@shaw.ca


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cosmetics Richard in AZ Windows Vista Mail 1 9th Aug 2008 08:58 PM
cosmetics raghav Printers 9 25th Aug 2007 12:04 AM
Cosmetics Capitals =?Utf-8?B?QXJsZW5l?= Microsoft Excel Worksheet Functions 4 13th Jul 2007 05:22 PM
UserForm cosmetics... Steven Saville Microsoft Excel Programming 1 13th Aug 2006 07:55 PM
Subform Cosmetics =?Utf-8?B?Sm9lbA==?= Microsoft Access Forms 2 13th Jul 2005 04:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:48 AM.