+ Reply to Thread
Results 1 to 2 of 2

Macro to insert row/fill cells

  1. #1
    Forum Contributor
    Join Date
    05-26-2008
    Posts
    122

    Macro to insert row/fill cells

    Hey all,

    To simplify, i want to create a macro that would insert a row at a specified point and then fill down selected cells from the last row to the new cell.

    Please See attached file,
    Basically i want to insert a row after the 3rd submenu and the fill the contents of cell E7 into the new row in E8..
    I would then assign this macro to a command button and i wanna be able to jus repeat the process if i clicked on the button

    any help would be greatly appreciated.. thanks
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    Put your cursor in the place you want to insert the new row (say C8).

    Associate this code with your button
    Please Login or Register  to view this content.
    This will insert the new row where the cursor is placed, and copy down the formula.

    HTH

    rylo

+ 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. Macro is unlocking locked cells... but I didn't tell it to.
    By rziegler in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 05-08-2008, 06:22 PM
  2. Macro code to insert Blank columns and rename them
    By robertguy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-01-2008, 09:02 AM
  3. Macro to Move Visible Cells after Subtotaling
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-14-2008, 05:08 PM
  4. Macro to insert lines and copy
    By punter in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-29-2007, 12:20 PM
  5. Macro into locked cells
    By elude3xo in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-30-2006, 04:11 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