+ Reply to Thread
Results 1 to 4 of 4

Need macro to fill data

  1. #1
    Forum Contributor
    Join Date
    01-17-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    402

    Post Need macro to fill data

    Hi, I have an excel which has three sheets.
    I need a macro which should copy a range of cells from sheet "Data" to sheet "Report" as per my selection in sheet "Input"

    In Sheet "Input" if the cell value is "Kishore" then it should copy J6 to J35 from sheet "Data" to sheet "Report" from B2 to B32
    In Sheet "Input" if the cell value is "Krishna" then it should copy K6 to K35 from sheet "Data" to sheet "Report" from C2 to C32

    Please help

    Attaching the sample file.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    03-23-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    1,093

    Re: Need macro to fill data

    Hello there,

    Can you please explain to me why if "Kishore" is selected from the "Input" worksheet then you would copy column J?

    Thanks!

  3. #3
    Forum Contributor
    Join Date
    01-17-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    402

    Re: Need macro to fill data

    It is my requirement. Please help....

  4. #4
    Valued Forum Contributor
    Join Date
    03-23-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    1,093

    Re: Need macro to fill data

    Hello there,

    Sorry, I do understand that this is your requirement. If there is no explanation for why each section is grabbed then please explain each of your requirements.

+ 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