Results 1 to 5 of 5

Thread: Selecting data from large (greater than 7 elements) set in Excel

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2005
    Posts
    11

    Selecting data from large (greater than 7 elements) set in Excel

    I have a table (same as other post) with about 32 different variations of setting for a series of columns. Originally, I made 32 different worksheets (in Excel) to compensate for each set of cells. However, I realized that I could change the values of one particular cell using the validation tool. Now, however, I have to form a script that will automatically week out the 31 false values and select the 1 numeric (true) values. Since Excel only allows 7 if statements, I was wondering how I might get a macro to do more the full list. Any suggestions would be great.

    will

  2. #2
    Frenzied Member
    Join Date
    Feb 2003
    Location
    Argentina
    Posts
    1,950

    Re: Selecting data from large (greater than 7 elements) set in Excel

    This is the type of reason I hate Excel.
    Anyway, at a rough guess, could you give the records in Excel an id corresponding to their worksheet? Save you from having 32 sheets. Then write code to loop through 32 numbers in the id field.
    Tengo mas preguntas que contestas

  3. #3

    Thread Starter
    New Member
    Join Date
    Sep 2005
    Posts
    11

    Re: Selecting data from large (greater than 7 elements) set in Excel

    Can you do an example line in the VB for me. I don't know any VB, but can replicate something I see correctly once I get the concept. Thanks very much!

  4. #4
    Frenzied Member
    Join Date
    Feb 2003
    Location
    Argentina
    Posts
    1,950

    Re: Selecting data from large (greater than 7 elements) set in Excel

    No.
    Do some work yourself & I and/or others will help you. If you won't try first, don't expect others to do it for you.
    I don't know any VB, but can replicate something I see correctly once I get the concept.
    That is one of the stupidest things ever posted.
    Sorry if this sounds cranky, but that's how I feel.
    Tengo mas preguntas que contestas

  5. #5

    Thread Starter
    New Member
    Join Date
    Sep 2005
    Posts
    11

    Re: Selecting data from large (greater than 7 elements) set in Excel

    Quote Originally Posted by salvelinus
    No.
    Do some work yourself & I and/or others will help you. If you won't try first, don't expect others to do it for you.

    That is one of the stupidest things ever posted.
    Sorry if this sounds cranky, but that's how I feel.
    This is much like telling a baby, "Walk by yourself. I don't care if your legs are unstable and weak," even though the child is looking for you to extend your hand. Cranky indeed.

    I'll try to figure it out myself. Thanks for the help.

Posting Permissions

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



Click Here to Expand Forum to Full Width