+ Reply to Thread
Results 1 to 4 of 4

Selecting the newly added row and filling that row with predefined data

  1. #1
    Registered User
    Join Date
    02-29-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    41

    Selecting the newly added row and filling that row with predefined data

    HI,

    I have an excel sheet where one of my column contains Value 1 as a unique value. I have managed to make a macro to add a row above whenever 1 value comes. Now i have to add a predefined data in that newly added row. Can this be done by the macro .

    I am attaching a sample excel which contains the macro to add row.

    Kindly help , thanks in advance.

    Regards,
    Mayur Sample.xlsm

  2. #2
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Selecting the newly added row and filling that row with predefined data

    try it
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    02-29-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    41

    Re: Selecting the newly added row and filling that row with predefined data

    Hi,

    Thanks Nilem , That worked beautifully , One more help i want if possible it will be great . Like Captain added in C column i also want to add "2012" in column D , and " Mumbai" in E column.

    Can u extend this code such that this will possible .

    Thanks ,
    Mayur

  4. #4
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Selecting the newly added row and filling that row with predefined data

    just change this line
    Please Login or Register  to view this content.

+ Reply to 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