+ Reply to Thread
Results 1 to 5 of 5

How to create a Loop

  1. #1
    Registered User
    Join Date
    11-10-2006
    Location
    Los Angeles
    MS-Off Ver
    Office 2016
    Posts
    23

    How to create a Loop

    Hi All,

    I’m getting data from query. My data has fields: Item No, Customer ID & Sales rep.
    I need to find out for each Item number which customer put order and who was the sales rep. (Excel 2002)
    Please see file attached.

    Thank you in advance.
    Attached Files Attached Files
    Last edited by Sahak; 10-08-2008 at 07:27 PM.

  2. #2
    Forum Contributor WinteE's Avatar
    Join Date
    04-07-2007
    Location
    Netherlands
    Posts
    544
    Instead of Loop use a For Each function.

    Please Login or Register  to view this content.
    Success
    Just keep it simple !


    http://www.excelguide.eu
    In English as well as in Dutch

  3. #3
    Registered User
    Join Date
    11-10-2006
    Location
    Los Angeles
    MS-Off Ver
    Office 2016
    Posts
    23

    help with Loop

    Hi WinteE

    Thank you very much for reply.
    I’m sorry for not understanding. Please make clear what should be instead of “Whatever” & what to do after “Then …..”

    Thanks again

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436
    Some thing like this,

    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

  5. #5
    Registered User
    Join Date
    11-10-2006
    Location
    Los Angeles
    MS-Off Ver
    Office 2016
    Posts
    23

    Loop

    Hi Andy,

    Thank you very much. It works perfect
    Last edited by Sahak; 10-08-2008 at 02:56 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Create new workbooks and worksheets from an existing Workbook
    By nazmul in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-30-2008, 11:07 PM
  2. Programming a Find Loop?
    By mcbain in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-21-2008, 04:44 AM
  3. Do Loop Until Loop
    By carsto in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-12-2007, 10:20 AM
  4. For type loop verse Do type loop
    By boylejob in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-09-2007, 03:02 PM
  5. Extend Loop From Within ?
    By Blewyn in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-26-2007, 05:34 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1