+ Reply to Thread
Results 1 to 3 of 3

Insert number of rows based on cell contents

  1. #1
    Registered User
    Join Date
    06-22-2013
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    8

    Insert number of rows based on cell contents

    Hi there,

    I am trying to insert a finite number of rows in my excel document based on a number in a specific cell.

    Specific example (see attached):

    I have inserted a drop down option in C29 to insert number of candidates to be tested. Based on the number selected (1-20) I would like to insert rows underneath row 37 (there are currently 2 rows however I have entered 7 in C29).

    A colleague of mine enabled this function before however since I inserted more rows above C29, the coding seems to have gone awry.

    Any help would be greatly appreciated

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Insert number of rows based on cell contents

    The code was written for number of candidates in C24, then it can not run
    If solved remember to mark Thread as solved

  3. #3
    Registered User
    Join Date
    06-22-2013
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Insert number of rows based on cell contents

    Oh I see how do I fix this? I see that there were a number of hidden cells which I have subsequently unhidden so now number of candidates is in C21 (attached)

+ 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] How to insert number of rows based on value of a Cell
    By sathyasun in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-24-2013, 12:47 AM
  2. [SOLVED] insert rows based on number in cell and copy the data down into the new rows
    By pziefle in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 05-05-2013, 11:19 AM
  3. [SOLVED] Insert Multiple Rows Based Off Number in Cell and Copy Data From Above New Rows
    By tstell1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-02-2012, 04:15 PM
  4. Copy and insert rows with contents and format based on specific number
    By fatalcore in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 01-13-2012, 03:38 AM
  5. Insert a number of rows based on the value in a cell
    By garridosk in forum Word Programming / VBA / Macros
    Replies: 2
    Last Post: 11-16-2011, 04:41 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