+ Reply to Thread
Results 1 to 3 of 3

inserting rows and text based on criteria

Hybrid View

inggar1618 inserting rows and text based... 09-23-2014, 03:27 PM
inggar1618 Re: inserting rows and text... 09-23-2014, 03:50 PM
inggar1618 Re: inserting rows and text... 09-23-2014, 04:39 PM
  1. #1
    Registered User
    Join Date
    09-23-2014
    Location
    Indonesia
    MS-Off Ver
    2010
    Posts
    3

    inserting rows and text based on criteria

    Please help me with this scenario

    I would like to create a macro that will automatically insert a two rows and a page number such "1","2" after 50

  2. #2
    Registered User
    Join Date
    09-23-2014
    Location
    Indonesia
    MS-Off Ver
    2010
    Posts
    3

    Re: inserting rows and text based on criteria

    So, I would like to create this scenario:

    suppose column Number is on "A", Amount is on "B" and text "1" (as page number) is to be added on column "C".
    after Number = 50, i would like to insert 2 rows and text "1" in 2nd new row on column C.
    IMPORTANT: if the Number jumping , for example after 96 immediately 101, then insert 6 blank rows ( 4 + 2 rows), pretending 97-100 is exist.

    It will be like this:

    No Amount
    1
    2
    3
    ..
    50

    1
    51
    52
    53
    ...
    96





    2
    101
    102
    103

  3. #3
    Registered User
    Join Date
    09-23-2014
    Location
    Indonesia
    MS-Off Ver
    2010
    Posts
    3

    Re: inserting rows and text based on criteria

    Sorry, correction. I can't use "edit post" feature (it is error/unresponding) So I use quick reply.

    It should be like this:

    Number Amount
    1 1500
    2 1700
    3 1800
    .. ..
    50 1800
    [blank row]
    [blank column] [blank column] 1
    51 1800
    52 2100
    53 2200
    ... ..
    96 3200
    [blank row]
    [blank row]
    [blank row]
    [blank row]
    [blank row]
    [blank column] [blank column] 2
    101 1200
    102 1800
    103 1800

+ 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. Delete Rows Based On A Text Criteria
    By NSTurk725 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 10-24-2014, 12:22 AM
  2. [SOLVED] Inserting rows based on criteria
    By karthik013 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-24-2014, 04:40 AM
  3. [SOLVED] Inserting Rows based on 2 Criteria Not Working
    By smartbuyer in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-07-2013, 05:10 AM
  4. Inserting rows based on criteria
    By REPLB in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-11-2013, 11:40 AM
  5. Inserting text based on a predetermined criteria early in the macro
    By MonkeyFlyer in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-30-2012, 06:06 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