Closed Thread
Results 1 to 13 of 13

need help! To make multiple sheets from one excel sheet based on criteria

  1. #1
    Registered User
    Join Date
    09-12-2014
    Location
    beograd
    MS-Off Ver
    proffesional 2010
    Posts
    5

    need help! To make multiple sheets from one excel sheet based on criteria

    I am not that good with Visual Basic so i don't know how to do this. I have a job that requires selecting a workbook into the sheets based on column criteria.
    I found some code that make a multiple sheets from my worksheet based on the column criteria but it makes a sheet for every different value from a column. I need something a little different. When i run that module i need to make multiple sheets from my existing worksheet based on the criteria but with more conditions. For example If i have excel table looking like this:



    A B C D
    1 no name book phase
    2 1 mark 401 55
    3 2 ivan 422 152
    4 3 john 507 14
    5 4 jim 512 1024
    6 5 Ros 605 5587
    7 6 megan 750 4668

    i need separate sheets based on criteria from my column "Book" but i need to have sheets based on a range from that column.

    -For example, i need to generate sheet1 that goes from book 401 to book 507
    and sheet2 that goes from book 512 to book 605
    and sheet3 that goes from 750 to 750

    so i need that defined in the code by range like "sheet1 from 401 to 507; sheet2 from 512 to 605"... Or i could name all of them in the code like "sheet1: 407, 507, 508, 509; sheet2: 508,509,510" and do that for all the sheets.
    please help me i don't have a clue how to do this but i think it can't be that hard. If somebody could write me a code and i will insert those values individually
    and zes, it would be good if i could name my sheets in the code, so when they are made they have custom names, and not "sheet1" "sheet2"...

    my excel table looks like this -
    Please help, i am not this good at VB and this is the only way to do the job i think. I would be very grateful.

    This is a code i found. On this page, it is second code from the top:

    http://www.mrexcel.com/forum/excel-q...ed-column.html
    Attached Images Attached Images

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: need help! To make multiple sheets from one excel sheet based on criteria

    Please Login or Register  to view this content.
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

  3. #3
    Registered User
    Join Date
    09-12-2014
    Location
    beograd
    MS-Off Ver
    proffesional 2010
    Posts
    5

    Re: need help! To make multiple sheets from one excel sheet based on criteria

    i didn't understand you. I am so bad with VB, so you should be more precise

  4. #4
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: need help! To make multiple sheets from one excel sheet based on criteria

    Thats it. I'd look into VBA then before you tackle it, there's a wealth of info on Google, and on this site, and F1 in Excel .

    Record macros of you ciopying and pasting, then you can look at.

  5. #5
    Registered User
    Join Date
    09-12-2014
    Location
    beograd
    MS-Off Ver
    proffesional 2010
    Posts
    5

    Re: need help! To make multiple sheets from one excel sheet based on criteria

    Ok, i need real help, not somebody telling me that i have to learn, i know that. I wouldn't be here if i was good at VB, i do other kind of programing , pl sql, oracle, php, css... And when somebody come to me with a problem i either help him, or tell him that i won't, i don't give him advice about learning...
    thanks, some reall help guys?

  6. #6
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: need help! To make multiple sheets from one excel sheet based on criteria

    Tool, how did you get to use those other lanquages, learning?????

  7. #7
    Registered User
    Join Date
    09-12-2014
    Location
    beograd
    MS-Off Ver
    proffesional 2010
    Posts
    5

    Re: need help! To make multiple sheets from one excel sheet based on criteria

    yes, that is why i wrote that i need real help and not advise from a guy who thinks he knows everything just because he learned "very hard " thing - working with excel and Virtual Basic (witch is a bit hard, i admit). Yes i learned them but this forums exist for HELP and not for bragging about knowledge, so you definitely misunderstood the purpose of this website. I know much, and i don't need to learn VB because of one little problem i have...
    No time for that, so if somebody knows he will help me, and thanks for your advise but you are no help my friend

  8. #8
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: need help! To make multiple sheets from one excel sheet based on criteria

    Dont understand your problem, i've sent you the solution, i havent bragged at all, but do know its called Visual Basic

    Stop being a tit!

  9. #9
    Registered User
    Join Date
    09-12-2014
    Location
    beograd
    MS-Off Ver
    proffesional 2010
    Posts
    5

    Re: need help! To make multiple sheets from one excel sheet based on criteria

    i made a mistake typing, because i work, not like u sitting all day getting fat in your chair...
    i don't want you to help me so get lost... and yes you exist here to brag... that's sad, you should really help people if you have any knowledge...

  10. #10
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: need help! To make multiple sheets from one excel sheet based on criteria

    @magicgolub

    Please Login or Register  to view this content.
    You totaly disunderstand how a (this) forum works.

    We are all free volunteers who want other members to learn Excel or VBA.

    Just given you an answer will not help you learning excel.

    We are all volunteers, and nathansav provides much help to other forummember, who realy appreaciate the help he/she is given.

    There is no need to be brute to nathansav (who is a respected member), and being brute is against the forumrules.

    I suppose, it is time to make an excuse, or leave the forum and find your solution somewhere else.

    Notice that I am no moderator so I can't ban or punish you, but I would like to give my opinion to your reaction.


    Edit:
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    It seems to me this is bragging!!
    Last edited by oeldere; 09-15-2014 at 06:21 AM. Reason: edit (added)
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  11. #11
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,037

    Re: need help! To make multiple sheets from one excel sheet based on criteria

    Please stop offending each other or I'll have to ban some users.
    And that won't be those that help others.
    Never use Merged Cells in Excel

  12. #12
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: need help! To make multiple sheets from one excel sheet based on criteria

    Ban him zbor, he's a nucience, he still doesnt have intelligence to use the solution

  13. #13
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,697

    Re: need help! To make multiple sheets from one excel sheet based on criteria

    This thread is closed
    Audere est facere

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Splitting Excel sheet into multiple sheets based on random values of a column.
    By Preeti1309 in forum Excel Programming / VBA / Macros
    Replies: 27
    Last Post: 04-22-2014, 11:07 PM
  2. [SOLVED] Lookup and sum multiple values based on a single criteria in multiple sheets.
    By paulsanett in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-17-2014, 12:18 PM
  3. [SOLVED] Need IF statement or Macro to make decision based on multiple criteria
    By weddica in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-25-2013, 03:30 PM
  4. Replies: 0
    Last Post: 07-27-2011, 01:00 AM
  5. Replies: 1
    Last Post: 07-14-2010, 07:08 PM

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