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: 6
Default Many Nested loops

I'm still fairly new to programming excel but I understand basic programming
concepts and logic. I have four arrays called stgOffers, stgOffdups,
stgClients1, stgClients2. Here's what I'm looking to do:

Layout of data -- in column b are clients and they're housed in the array
stgClients2 In column c are entries that may be duplicates. these entries
are housed in the array stgOffdups. In a separate worksheet I have a column
with entries that are stored in stgOffers. In yet another worksheet I have a
column with entries that are stored in stgClients1.

What to do -- I need a loop that will take the first entry of stgOffers
(call it A) and then compare each entry of stgOffdups to A. If any entry in
stgOffdups = A then I need to compare the first entry of stgClients1 (call it
B) to every entry in stgClients2. Now, whenever an entry of stgClients2 = B,
I need to perform a specific action. I can code the specific action (I
think) but I can't seen to get this massive If For Next Then off the ground.

If anyone can give me a hand I would be most appreciative. Please send me
an email at if you would like to see the code that
I have right now.

Thanks again!
Nate
 
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
Help with nested for loops [email protected] Excel Discussion (Misc queries) 5 May 2nd 07 05:30 PM
nested loops jer Excel Programming 2 January 15th 06 09:09 PM
nested for loops and end for SandyR Excel Programming 3 October 6th 05 09:36 PM
Help on nested loops Jan Lukszo Excel Programming 1 July 29th 04 08:41 AM
Nested loops?? CG Rosén Excel Programming 1 June 22nd 04 08:07 PM


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