LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Looping through Range...Slow

Hi there.... I know that looping through a range is not the fastest way to
do it. But looking at different examples I can't quite figure out how to do
it in my sistuation.

Currently I am looping through a range(C1:C100), if the value is 1 then
corrisponding row in Range(A1:A100) the text is changed to RED, if the value
is 2 then corrisponding row in Range(A1:A100) the text is changed to Blue,
if the value is 3 then corrisponding row in Range(A1:A100) the text is
changed to Black and Bold, if the value is 4 then nothing. I have this
working in a Userform under a spreadsheet control. It works fine except it
runs very slow. I've tried adding Application.ScreenUpdating=False... which
didn't help

Is there a better way to run this?

Thanks Craig


 
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
Determine if range has NO Blank Cells without looping through each cell in range Excelenator[_29_] Excel Programming 4 August 4th 06 06:30 AM
Looping in a range Robert Excel Programming 3 April 24th 06 06:09 AM
Slow Looping Matt[_21_] Excel Programming 5 January 10th 04 11:19 AM
Slow Looping Matt[_21_] Excel Programming 4 December 22nd 03 08:53 AM
looping through a range Jo[_6_] Excel Programming 1 October 21st 03 11:11 PM


All times are GMT +1. The time now is 10:33 PM.

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"