Closed Thread
Results 1 to 3 of 3

Copy row details a number of times

  1. #1
    Registered User
    Join Date
    07-06-2012
    Location
    Ireland
    MS-Off Ver
    Excel 2007
    Posts
    4

    Copy row details a number of times

    I want to copy formula & formatting from say Row 3, Clm C to R to the next row a number of times designated by the value populated into a cell (say B1). ie if B1=3 i want to copy Row 3 Clm C-R 3 times to Row4,5 & 6.
    Note i want the copy to happen automatically when the detail is entered into cell B2
    See attached file.

    Any Ideas would be great
    Thanks
    Attached Files Attached Files

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Copy row details a number of times

    So the first time you enter data into B1 and then B2, the macro will insert rows as per the value in B1.

    What if you want to enter another value like B2, where will that be entered? Should the macro insert rows when you enter the value too or should the macro just run once?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Copy row details a number of times

    Also,

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread. http://www.excelforum.com/excel-2007...-that-row.html

    Thread Closed.

Closed Thread

Thread Information

Users Browsing this Thread

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

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