+ Reply to Thread
Results 1 to 8 of 8

Auto-generate new worksheet

  1. #1
    Registered User
    Join Date
    06-26-2017
    Location
    London
    MS-Off Ver
    365
    Posts
    16

    Auto-generate new worksheet

    Hello,

    I would like to know if it is possible for Excel to automatically generate a new worksheet depending on a value selected in a given cell (from a drop-down list) in a previous worksheet?

    I am happy to provide more context and can supply an example sheet of what I am looking to do, but just wanted to see if this is possible first?

    Thanks

  2. #2
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Auto-generate new worksheet

    Yes it's possible
    see attached workbook
    Change value in cell A1
    As an example, in the code, the word "sales" is added after the value from cell A1
    To prevent the code stopping if the name already exists, error handling is added

    This is a change event macro, that is triggered when value in cell A1 is changed
    It is located in the SHEET module of sheet1
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by kev_; 07-24-2017 at 06:22 AM.
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  3. #3
    Registered User
    Join Date
    07-24-2017
    Location
    Armenia
    MS-Off Ver
    10 windows
    Posts
    3

    Re: Auto-generate new worksheet

    hello guys ,, i am a new member here ..
    cool posts ,, wanna say thanks for all the posts you did

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: Auto-generate new worksheet

    OK, Lena - you have now posted irrelevant posts to three separate threads. Please don't post again until you have a proper query of your own or something helpful to add. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Registered User
    Join Date
    06-26-2017
    Location
    London
    MS-Off Ver
    365
    Posts
    16

    Re: Auto-generate new worksheet

    thanks kev_

    although this solution looks very useful, it is way beyond my current excel capability (just simple formulas) to build this into something much larger and fully understand it in order to support fellow users. the workbook that I am referring to will probably have circa 30 worksheets.

  6. #6
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Auto-generate new worksheet

    A formula cannot create a new worksheet
    How about putting it behind a button - so they click on button and new sheet is created based on value in a cell
    Must be done via VBA, one way or another

  7. #7
    Registered User
    Join Date
    06-26-2017
    Location
    London
    MS-Off Ver
    365
    Posts
    16

    Re: Auto-generate new worksheet

    Thanks again Kev_

    I'm going to look into some intro VBA courses and self-learning to support this type of work in future..

  8. #8
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Auto-generate new worksheet

    you are welcome

    One place for a gentle start Excel_Easy.com

+ 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. Auto generate SR NO
    By sushnaya in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-24-2015, 05:38 AM
  2. Generate Auto ID
    By Shazz in forum Excel General
    Replies: 8
    Last Post: 05-03-2013, 06:23 AM
  3. AUTO GENERATE NUMBERS to antoher worksheet
    By wstring in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-26-2013, 04:26 PM
  4. Replies: 1
    Last Post: 04-19-2013, 07:49 AM
  5. Auto-Generate Reports From another worksheet
    By kraddark in forum Excel General
    Replies: 8
    Last Post: 06-09-2011, 08:17 AM
  6. Replies: 5
    Last Post: 04-04-2010, 06:26 PM
  7. Auto Generate a new row
    By fanny_magnet in forum Excel General
    Replies: 0
    Last Post: 04-28-2005, 11:29 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