+ Reply to Thread
Results 1 to 6 of 6

insert new row in other sheets based on cell value

  1. #1
    Registered User
    Join Date
    04-02-2014
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    3

    Post insert new row in other sheets based on cell value

    Guys,

    I'm working on a spreadsheet that multiple sheets in it. I need to insert some blank rows in multiple sheets based on the value of a cell on the 1st sheet.

    An example:

    Sheet 1
    C1 - How many wheels would you like to order? D1 - 3
    C2 - How many rims would you like to order? D2 - 5

    Sheet 2
    Insert number of rows that is = to Sheet1!d1 starting at A5
    insert number of rows that is = to Sheet1!d2 starting at A7

    Sheet 3
    Insert number of rows that is = to Sheet1!d1 starting at A5
    insert number of rows that is = to Sheet1!d2 starting at A7

    Sheet 4
    Insert number of rows that is = to Sheet1!d1 starting at A5
    insert number of rows that is = to Sheet1!d2 starting at A7


    Sheet 5
    Insert number of rows that is = to Sheet1!d1 starting at A5
    insert number of rows that is = to Sheet1!d2 starting at A7



    Hopefully this makes sense...

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: insert new row in other sheets based on cell value

    Welcome to the Forum. Can you post a sample file with some dummy data? To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.

  3. #3
    Registered User
    Join Date
    04-02-2014
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    3

    Re: insert new row in other sheets based on cell value

    I have attached an example sheet. This is of course nothing but dummy data, but would still serve my purpose.

    Thanks for the help!!
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: insert new row in other sheets based on cell value

    This looks at Column B for the value to insert. Try it, then we can modify from there.

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    04-02-2014
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    3

    Re: insert new row in other sheets based on cell value

    I entered the values into column B, but nothing happened when I went to the other sheets.

  6. #6
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: insert new row in other sheets based on cell value

    It worked when I tested it on your sample file? At least it did something. I'm not sure if it is what you are after. Are the sheet names the same?

+ 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. Replies: 1
    Last Post: 10-04-2013, 04:21 AM
  2. [SOLVED] Insert number of rows with data to new sheets based on values in cells
    By keithtran12 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-28-2013, 11:57 AM
  3. Macro to insert a letter into first empty cell in a column on all sheets
    By pimind in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-03-2013, 01:56 PM
  4. Replies: 7
    Last Post: 11-25-2012, 01:24 AM
  5. After insert new record, insert values in row based on first cell in row
    By frankienap in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-04-2012, 11:36 AM

Tags for this Thread

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