+ Reply to Thread
Results 1 to 2 of 2

Add new row and Loop range data from previous sheet - new to vba

  1. #1
    Registered User
    Join Date
    08-06-2014
    Location
    Dallas, TX
    MS-Off Ver
    2010
    Posts
    1

    Add new row and Loop range data from previous sheet - new to vba

    I looking for the right code where Sheet2 will add a new row and populate the Column B cell of the new row with data from a range on Sheet1. I need this to occur every time I add new item to the range on Sheet1. So if I have:

    Sheet1:
    Column A (City)
    Houston
    Dallas
    Column B (Region)
    North
    South
    East

    Sheet2:

    Houston
    North
    South
    East

    Dallas
    North
    South
    East

    If I were to add West to Region on Sheet1, how could I have a row automatically added to Sheet2 for both Cities pulling the new Region? Thanks!
    Last edited by Amel; 08-06-2014 at 04:46 PM.

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Add new row and Loop range data from previous sheet - new to vba

    I dont know where you are trying to go with all of this, but I would probably use a pivot table linked to the original data.
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

+ 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. Loop range copy based on previous column
    By darkhangelsk in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-12-2014, 03:38 PM
  2. [SOLVED] Set values only of range of previous sheet equal to range of original sheet
    By ozizushi in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-22-2014, 12:13 PM
  3. Copy Cell Range From Previous Sheet and Paste to Active Sheet
    By jtal in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-01-2013, 03:26 PM
  4. Loop through sheet, check if previous value is the same and do calculation
    By dimxasnewfrozen in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-30-2012, 09:38 AM
  5. Copy dynamic range from previous sheet and paste after last used row in a range
    By Mistweaver in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-04-2010, 06:24 PM

Tags for this Thread

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