+ Reply to Thread
Results 1 to 10 of 10

Need help generating list

  1. #1
    Registered User
    Join Date
    11-09-2014
    Location
    Payson, Arizona
    MS-Off Ver
    2007
    Posts
    4

    Need help generating list

    I need to generate a list of six digit numbers 0-9. No number is repeating and each six digit number has a 7, 1, 0, and 3 included in no particular order. Please help with step by step instructions. Thank you!

  2. #2
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Need help generating list

    when you say "no number is repeating" do you mean in your list or within the 6 digits? ie can you have 710375?

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Need help generating list

    I am not able to help with this, but onteh face of it, pj, I would have to say - no you cant have that because 7 is repeated
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    11-09-2014
    Location
    Payson, Arizona
    MS-Off Ver
    2007
    Posts
    4

    Re: Need help generating list

    Thanks for responding PJ! No numbers repeating at all within the six digits.

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Need help generating list

    Put this in a standard module, do Alt+F8, and run macro JDPB. Results appear in A1:A10800.

    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  6. #6
    Registered User
    Join Date
    11-09-2014
    Location
    Payson, Arizona
    MS-Off Ver
    2007
    Posts
    4

    Re: Need help generating list

    Hi shg....You are wonderful!!! Only problem is....I am a computer illiterate woman. I am sorry to ask you this and if you wouldn't mind?.....can you explain in dummy terms how to get Standard Module and so on? I appreciate your help ( :

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Need help generating list

    Do Alt+F11 to open the visual basic editor. Insert > Module, paste the code in the window that opens.

    Alt+Q to return to Excel.

    The resulting workbook must be saved as an xlsm file to preserve the code.

  8. #8
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Need help generating list

    ... or see the attached workbook.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    11-09-2014
    Location
    Payson, Arizona
    MS-Off Ver
    2007
    Posts
    4

    Re: Need help generating list

    Thank you sooooo much shg!!! I am your #1 fan! You are selfless and kind. I am very grateful

  10. #10
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Need help generating list

    You're welcome.

+ 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. [SOLVED] Generating list
    By her.rockstar in forum Excel General
    Replies: 17
    Last Post: 06-26-2013, 07:51 AM
  2. Generating IDs for a list
    By adame in forum Excel General
    Replies: 3
    Last Post: 05-31-2011, 08:46 AM
  3. Generating a list
    By Steve_Courts in forum Excel General
    Replies: 1
    Last Post: 10-21-2010, 10:48 PM
  4. macro for automatically generating a list from a list
    By SIFT-MS88 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-20-2010, 01:44 PM
  5. [SOLVED] list generating
    By Melissa in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-30-2005, 08:05 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