+ Reply to Thread
Results 1 to 7 of 7

Autopopulate cell with list of data

  1. #1
    Registered User
    Join Date
    01-30-2013
    Location
    Coburg
    MS-Off Ver
    Excel 2010
    Posts
    22

    Post Autopopulate cell with list of data

    Hi I have Spreadsheet with list of Employee name and working hours. I have created template for timesheet.

    A B
    Employee



    D
    List of Employee
    Amesh
    Sara
    Monika
    Nawab


    I want B1 cell show me D2(List of Employee one at time )and auto select D3, than D4

    Please Help

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Autopopulate cell with list of data

    Would something like this help?

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    01-30-2013
    Location
    Coburg
    MS-Off Ver
    Excel 2010
    Posts
    22

    Re: Autopopulate cell with list of data

    Hi John

    It really worked than you for your help. However If I have data in D2, E2 as same list and in one macro button which is next i want to put into B1 & C1.

    Secondly what Macro I need to do to get prevoius record

    Regards
    Hansni

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Autopopulate cell with list of data

    Do you mean like this? Not sure I understand.

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    01-30-2013
    Location
    Coburg
    MS-Off Ver
    Excel 2010
    Posts
    22

    Re: Autopopulate cell with list of data

    That's Fine John, I got the solution thank you.
    Is there any way to copy Macro's result from one sheet to another regardless the result changes every time when run the macro but the result pasted in another sheet that kept same place and paste new result in next row

    Regards
    Hansni

  6. #6
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Autopopulate cell with list of data

    Maybe?

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    01-30-2013
    Location
    Coburg
    MS-Off Ver
    Excel 2010
    Posts
    22

    Re: Autopopulate cell with list of data

    Hi John
    I have below mentioned Macro suggested by you and it is working well nothing wrong. But now I have data like in E against each employee name their normal working hours and sick leave in F. I macro code given by you which is copying data from lis and pasting in relevent place. Because it rotate list if one employee has anything against it blank it just rotate other staff detail to blank. How i can fix it. Please help
    Sub Hansni()

    Range("B1") = Range("D2")

    Range("D2").Cut Range("D" & Rows.Count).End(3)(2)
    Range("D2").Delete xlUp

    End Sub

+ 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