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: 184
Default Need to make progress indicator more efficient

ok, a little long here, hang with me...

I have a sheet with a column of names, say process 1, process 2, etc, about
20 total. Next to these names I have a cell that says incomplete (red) or
complete (green).

Elsewhere I have a userform with a listbox in it populated with the same 20
names.

CURRENTLY: When someone clicks on a name in that listbox, that name is
populated in a cell (T1). I then have worksheet code on the sheet with the
indicators as follows:

Private Sub Worksheet_Change(ByVal Target As Range)

If Range("B10").Value = Range("T1") Then
Range("B10").Value = "Complete"
End If

If Range("B13").Value = Range("T1") Then
Range("B13").Value = "Complete"
End If

....etc for all the items.

It works, problem is, it seems to be killing the tool I'm making as it's
draining resources. Is there any way to make it more efficient? I thought
about a Case function, but I'm not totally sure how to do it and not sure if
it would be faster. I did try adding some code to each if that would ignore
the function if it's already marked complete.

I have an export button that grabs this sheet and a couple of others later
in the tool. I don't need this sheet updated until that point, problem is
when you click on something in the listbox, it outputs that name, but when
you go to another item, it stops outputing that name and does the new name,
that means if I waited until I exported to calculate, it would only get the
status of the last name clicked.

Sorry for the long description, wanted to be detailed.

Thanks


 
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
Macro Progress Indicator Telecorder Excel Programming 0 February 2nd 09 05:52 PM
Progress Indicator Rob Hargreaves[_2_] Excel Programming 16 August 8th 05 12:50 AM
Mimick MS Progress Indicator? JK Excel Programming 7 August 22nd 04 07:57 PM
UserForm as Progress Indicator MWE Excel Programming 6 January 19th 04 03:22 PM
PROGRESS INDICATOR jason Excel Programming 6 October 3rd 03 01:58 AM


All times are GMT +1. The time now is 05:47 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"