+ Reply to Thread
Results 1 to 8 of 8

Auto Populate Text in row

  1. #1
    Registered User
    Join Date
    10-19-2012
    Location
    manila, philippines
    MS-Off Ver
    Excel 2003
    Posts
    4

    Auto Populate Text in row

    Hi,

    Seeking help for some VBA Codes.

    I have a template wherein the user will input information in Sheet1 and I have a data validation list in column G starting from row 12.
    I actually did this by creating a vlookup formula for each row but it makes the file bigger so I thought of using macro but I am having a hard time putting this into codes.

    When I select a list in column G from any row starting in row12, I want column H on the same row to auto populate the description.

    The database list can be found in Sheet2.

    I have attached the file for reference.

    Thank you.
    Attached Files Attached Files

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Auto Populate Text in row

    Here! Put this on the Worksheet Module

    Please Login or Register  to view this content.
    I'v left the Ranges hard coded.. Please change that as required.
    Attached Files Attached Files
    Last edited by NeedForExcel; 07-15-2015 at 04:56 AM.
    Cheers!
    Deep Dave

  3. #3
    Registered User
    Join Date
    10-19-2012
    Location
    manila, philippines
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Auto Populate Text in row

    Thanks so much! now it worked..


  4. #4
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Auto Populate Text in row

    Glad It helped..

  5. #5
    Registered User
    Join Date
    10-19-2012
    Location
    manila, philippines
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Auto Populate Text in row

    hi again..

    would it be possible that if the user pasted a list in column G it will automatically recalculate the rest of the data?

    I did try but only the first data in the list was updated. All others would need to manually select it one by one.

    This is okay if not possible.

    Thank you.

  6. #6
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Auto Populate Text in row

    You will need something line this -

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    10-19-2012
    Location
    manila, philippines
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Auto Populate Text in row

    Thank you. Now it works perfectly fine.

  8. #8
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Auto Populate Text in row

    Glad it helped!

+ 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. Auto populate text box on userform
    By sara1989 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-28-2015, 08:45 AM
  2. auto-populate text
    By cmccabe in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-03-2014, 11:23 AM
  3. [SOLVED] Auto-populate text from one sheet to another
    By denisirio in forum Excel General
    Replies: 2
    Last Post: 09-19-2013, 03:25 PM
  4. Replies: 7
    Last Post: 09-03-2013, 04:43 PM
  5. Auto-populate based on text in same row
    By PaulLor89 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-26-2013, 03:52 PM
  6. Replies: 3
    Last Post: 02-28-2012, 11:54 AM
  7. Userform - Auto-populate text box
    By revenge4ash89 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-23-2012, 09:54 AM

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