+ Reply to Thread
Results 1 to 5 of 5

macro count cells with value and insert rows acordanly

  1. #1
    Registered User
    Join Date
    09-03-2016
    Location
    norway
    MS-Off Ver
    2007
    Posts
    7

    macro count cells with value and insert rows acordanly

    hello i finally gave up on this and aske here for help.

    i got a range B13:B26 i need to Count how many cells that have a value.

    then insert (in another sheet) the same amounts of New rows

    example: in range 3 cells have a value. in my other sheet i need to insert 3 rows under row 3 and copy formula and lines from below

    this all wil be added to a button that have the macro assigned

    hope it make sense
    thanks

  2. #2
    Registered User
    Join Date
    12-14-2012
    Location
    Czech Republic
    MS-Off Ver
    Excel 2010
    Posts
    92

    Re: macro count cells with value and insert rows acordanly

    Hi,

    new rows will be always added under row 3?

    Something similar to this:

    Please Login or Register  to view this content.
    But you better upload an example file to get more precise solution.
    regards,
    sysss

  3. #3
    Registered User
    Join Date
    09-03-2016
    Location
    norway
    MS-Off Ver
    2007
    Posts
    7

    Re: macro count cells with value and insert rows acordanly

    yes always under row3 in sheet1

  4. #4
    Registered User
    Join Date
    09-03-2016
    Location
    norway
    MS-Off Ver
    2007
    Posts
    7

    Re: macro count cells with value and insert rows acordanly

    now i got that working.

    im currently working on the NeXT step so i might ask for help again, thanks alot so far

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    12-14-2012
    Location
    Czech Republic
    MS-Off Ver
    Excel 2010
    Posts
    92

    Re: macro count cells with value and insert rows acordanly

    Hi,
    i'm glad that it helped you. If you think the question is solved please consider marking this thread as solved. you can also give dome rep points (little * on the left).

    thanks
    sysss

+ 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] Need macro to count rows between empty cells
    By Dnakr in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-02-2013, 06:21 PM
  2. [SOLVED] VBA Macro - Insert Rows based on different Column Value but Ignoring Blanks Cells
    By WITJ in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-12-2013, 03:11 PM
  3. Macro that will dynamically cut and insert entire rows after column cells are updated
    By excelryan in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-10-2012, 09:59 AM
  4. [SOLVED] Macro To insert Number to a certain cells in same rows?
    By sem in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-02-2012, 07:34 AM
  5. Replies: 5
    Last Post: 08-12-2010, 04:27 PM
  6. Find Cells and Insert Rows Macro
    By mcclanat in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-02-2010, 10:16 AM
  7. Count filled cells and insert rows
    By RW_EMERSON in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-10-2007, 10:19 PM
  8. macro to insert rows & copy cells
    By D Hafer - TFE in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-08-2006, 04:40 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