+ Reply to Thread
Results 1 to 6 of 6

VBA to pull Multiple Values

  1. #1
    Registered User
    Join Date
    02-20-2014
    Location
    Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    6

    VBA to pull Multiple Values

    I am worst in VBA, at my job we get report in excel and we need to fill in the EXCEL form using report, I tried to automate using formula but it increases the size of Sheet and at a point calculation stops because of too many formulas , it doesn't provide me required value,
    I am looking for VBA, I have googled and found most vba part script that I require, Last thing I am looking for is VBA script for vlookup returning multiple values.
    we paste report in Sheet2 and when we click Command button, forms should be Filled.Attached is the sample sheet, We paste the Report in Sheet1 and on basis of Department, forms should be filled in sheet2 (employee, Employee ID, Designation). I want VBA script for to pull Multiple Values.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: VBA to pull Multiple Values

    Duplicate post

    http://www.excelforum.com/excel-prog...ml#post3601229

  3. #3
    Valued Forum Contributor
    Join Date
    06-17-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2003,excel 2007
    Posts
    678

    Re: VBA to pull Multiple Values

    your file modified attached. yoor sheet value is renamed valueoriginal
    a new sheet is added and named "value" so that you can check the macro result with value original

    the macro is in vb editor
    and repeated here

    in the top in the SHEET VALUE the "department name" IN ROW NO. 1 is used for the macro to be written is easier
    in your file there was a spelling mistake in sheet paste in D1 it was corrected as "Department"

    Please Login or Register  to view this content.
    Attached Files Attached Files
    I am not an expert. better solutions may be available
    $$$$venkat1926$$$$@gmail.com

  4. #4
    Valued Forum Contributor
    Join Date
    06-17-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2003,excel 2007
    Posts
    678

    Re: VBA to pull Multiple Values

    AB33
    sorry did not notice your message that is is a duplicate post

  5. #5
    Registered User
    Join Date
    02-20-2014
    Location
    Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    6

    Post Re: VBA to pull Multiple Values

    Thank you Venkat,

    What If there are more Data, I tried your suggested code, but its only pulling data for 2 Department, even if there are Multiple department.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    02-20-2014
    Location
    Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: VBA to pull Multiple Values

    Any help??

+ 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. Replies: 4
    Last Post: 10-23-2013, 10:08 AM
  2. [SOLVED] Using Cell value to pull multiple values from other cells
    By HAHOWE88 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-26-2013, 01:28 PM
  3. Use vlookup or formula to pull multiple values
    By jcavigli in forum Excel General
    Replies: 3
    Last Post: 02-06-2013, 03:18 PM
  4. [SOLVED] How to pull multiple values
    By sandman85 in forum Excel General
    Replies: 5
    Last Post: 04-15-2012, 10:00 PM
  5. Need to pull multiple values from 1 workbook to another using vlookup?
    By jenmarie in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-30-2010, 02:38 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