+ Reply to Thread
Results 1 to 5 of 5

Populate range of values from sheet 1 to sheet 2

  1. #1
    Registered User
    Join Date
    04-11-2014
    Location
    Abu Dhabi
    MS-Off Ver
    Excel 2003
    Posts
    3

    Lightbulb Populate range of values from sheet 1 to sheet 2

    Hello everybody,

    It's my first post. I've just started my journey with VBA. I'm creating my first macro and i cannot resolve one issue.

    I have source data sheet like this one:
    source_sht1.PNG

    I want to populate the range of the same data from Column A to the separate sheet2. For example: From Cloumn A within the same "AAA' values (range: A4:A7) i want to populate all data from Column B to E (highlighted in orange). The second sheet should look like this:
    Sheet2.PNG

    The macros should end when Column A value = empty

    Please help me with this so i could finish my macro .

    Thank you in advance.
    Attached Files Attached Files
    Last edited by refusedzero; 04-12-2014 at 12:56 PM.

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Populate range of values from sheet 1 to sheet 2

    attach please a sample xlsm file, no images
    If solved remember to mark Thread as solved

  3. #3
    Registered User
    Join Date
    04-11-2014
    Location
    Abu Dhabi
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Populate range of values from sheet 1 to sheet 2

    @patel45
    I'm so sorry, i'm new here.
    Please find attached xlsm file: Populate.xlsm

  4. #4
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 365 on Win11 (desktop), 2019 on Win11 (notebook)
    Posts
    8,199

    Re: Populate range of values from sheet 1 to sheet 2

    Hi, refusedzero,

    maybe try it like this:
    Please Login or Register  to view this content.
    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  5. #5
    Registered User
    Join Date
    04-11-2014
    Location
    Abu Dhabi
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Populate range of values from sheet 1 to sheet 2

    Thank you HaHoBe. I will test your code, but i've just found this one which works perfectly for me.:
    Please Login or Register  to view this content.
    I need to tuning it a little. I want to max. 20 row per sheet, so when the selected cell rows is > 20 i want to create another sheet for the rest of the values. Any hint ?? :>

+ 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] Populate summary sheet with values within specific month column on data sheet...
    By blue91 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-12-2013, 12:11 PM
  2. Replies: 3
    Last Post: 02-20-2013, 12:54 AM
  3. Replies: 2
    Last Post: 02-13-2013, 03:14 PM
  4. Populate one sheet based on values in another sheet
    By GBR2L in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-22-2011, 07:48 PM
  5. Auto populate sheet 2 from sheet 1 values
    By Onestopfanshop in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-16-2009, 03:09 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