+ Reply to Thread
Results 1 to 3 of 3

Dynamically add new rows without range drifting...

  1. #1
    Forum Contributor
    Join Date
    06-18-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    106

    Dynamically add new rows without range drifting...

    https://dl.dropbox.com/u/69651453/TEST5.xlsm

    Please find the attached workbook above. There are two associated macros. Each corresponds to the column heading "banner & text" and "Rich media".
    playing with these you'll quickly see what I'm trying to achieve: add new row underneath each row and perform data validation on that cell.

    However if you add a row under Banner & Text, the range for the "rich Media" macro shifts and the row is added in the wrong place. Its quite simple really in that I'm looking for a bit of VBA that insures that rows can be added and the below macros arent affected.

    Your thoughts!

    thanks!

  2. #2
    Valued Forum Contributor
    Join Date
    06-19-2010
    Location
    Holywell, N Wales, UK
    MS-Off Ver
    Excel 2013
    Posts
    470

    Re: Dynamically add new rows without range drifting...

    Hi niceguy21
    Try the attached amends.
    Note that there is (was) a trailing space on the name of 'INTERNAL...' worksheet which I have removed.

    TEST5amends.xlsm
    If this was helpful then please click the small star icon at the bottom left of my post. A little appreciation goes a long way.

  3. #3
    Forum Contributor
    Join Date
    06-18-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    106

    Re: Dynamically add new rows without range drifting...

    beautiful.

    I will mark this thread as solved!

+ 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