Results 1 to 5 of 5

how can i search and copy details of a particular User details in Sheet1

Threaded View

  1. #1
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    how can i search and copy details of a particular User details in Sheet1

    i have 12 sheets in my excel i have taken sheet1(destination) in that i used to display particular user data(details) with headers

    i have created an macro called searchcopy

    what i was trying to it should display Month name(Which Month they have taken a leave
    following this columns
    TOTAL PRESENTS
    TOTAL WEEKLY OFF
    TOTAL LEAVES
    TOTAL ABSENTS
    TOTAL HALFDAY
    TOTAL PRESENT


    i have attached My ExcelSheet.....Please help me


     Dim Name As Variant
        Dim FindName As Variant
        Dim ws As Worksheet
        Set ws = Worksheets("May_2014")
        Name = InputBox(Prompt:="Please Enter the Application Name", _
            Title:=" Application Search")
        If Name = "" Then Exit Sub
        
        With ActiveSheet.Range("b2:fa65536")
            Set FindName = .Find(Name, , , xlWhole)
            If Not FindName Is Nothing Then
                
                MsgBox FindName.EntireRow.Cells(1, 1).Value
                MsgBox FindName.Address
            Else
                MsgBox Prompt:="Name Not Found.", Title:="Search Failed"
                Exit Sub
            End If
        End With
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Search unique value from one worksheet in another & copy details - macro
    By ccjg96 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-04-2014, 07:01 AM
  2. Search and paste corresponding details
    By haddo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-22-2013, 04:20 AM
  3. [SOLVED] copy details in sheet3,d8 into sheet1,e10. there are 48 sheet.
    By sand takagi in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-06-2012, 12:33 PM
  4. Replies: 0
    Last Post: 08-21-2012, 01:19 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