+ Reply to Thread
Results 1 to 4 of 4

Need help separating a project from 1 worksheet to 3 worksheets

  1. #1
    Registered User
    Join Date
    05-23-2019
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    49

    Need help separating a project from 1 worksheet to 3 worksheets

    Hello Forum,

    I had gotten a great code from a member here, BSB, who solved my original issue but I made some changes to my project and could use anyone's help to make adjustments to the code.

    In the attached workbook you will find everything works correctly as designed, where I type a number in the input cell and that will be the number of rows from the bottom of the Data Source Table to be duplicated to the top of a new range. You will also see it is all on one worksheet.

    I would 2 adjustments which I can't figure out on my own.

    1) To separate the parts onto 3 sheets: The Data Table on Sheet1, the input cell on Sheet2, and the new Range on Sheet3.

    2) I would like to change the new Range to a Table but would need to have the empty rows that would appear from reducing the number in the input cell to be deleted so that the Table doesn't have any blank rows.

    Any help with this code would greatly appreciated. Thanks so much!
    -Maria

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Need help separating a project from 1 worksheet to 3 worksheets

    Your current code has problem when the user enters the number greater than the List rows. e.g. 22

    To Sheet2 code module
    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    05-23-2019
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    49

    Re: Need help separating a project from 1 worksheet to 3 worksheets

    Quote Originally Posted by jindon View Post
    Your current code has problem when the user enters the number greater than the List rows. e.g. 22

    To Sheet2 code module
    Please Login or Register  to view this content.
    Hi jindon,

    Thank you so much!! This looks great and yes, I knew it had that issue but I thought it was something I just had to make sure not to exceed the data set but you fixed that too!! So awesome for doing that. I am really grateful for the help, much appreciated

  4. #4
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Need help separating a project from 1 worksheet to 3 worksheets

    You are welcome and thanks for the feedback.

+ 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. Separating content into multiple worksheets
    By schmitty in forum Excel General
    Replies: 2
    Last Post: 10-15-2012, 03:26 PM
  2. Separating Data into worksheets
    By kdocstach in forum Excel General
    Replies: 2
    Last Post: 12-12-2011, 03:40 PM
  3. Separating data into two worksheets
    By Brontosaurus in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-22-2010, 08:12 AM
  4. Separating a Worksheet into multiple worksheets based on column A field.
    By Drifter33 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-27-2010, 04:16 PM
  5. Excel 2007 : Separating data to other worksheets
    By jsbrewer in forum Excel General
    Replies: 4
    Last Post: 12-10-2009, 12:50 PM
  6. Separating Worksheets to share
    By JuJu64 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-28-2008, 04:25 AM
  7. Replies: 1
    Last Post: 10-18-2005, 11:05 AM
  8. [SOLVED] Separating worksheets into new workbooks
    By Rob V in forum Excel General
    Replies: 2
    Last Post: 02-11-2005, 11:06 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