+ Reply to Thread
Results 1 to 15 of 15

Searching by contact number and to display the details.

  1. #1
    Registered User
    Join Date
    06-04-2013
    Location
    UAR
    MS-Off Ver
    Excel 2007
    Posts
    7

    Searching by contact number and to display the details.

    I have set of Name, contact number, location etc... Searching by contact number i need to display details related to contact number.

    Please find the attached file.

    Can anyone kindly help me for this.

    With Regards,
    Rajan.
    Attached Files Attached Files

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

    Re: Searching by contact number and to display the details.

    Try the attached
    Attached Files Attached Files

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Searching by contact number and to display the details.

    Paste this in A6 and drag across. No button and macro is required.


    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    06-04-2013
    Location
    UAR
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Searching by contact number and to display the details.

    Mr.AB33,

    That's what I want. Can you help me to protect data(entered data) sheet to be view by authorized persons only by protecting password.

    Thanks in advance

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

    Re: Searching by contact number and to display the details.

    Do you mean you want to protect the sheet which has the data input?

  6. #6
    Registered User
    Join Date
    06-04-2013
    Location
    UAR
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Searching by contact number and to display the details.

    Yes exactly....

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

    Re: Searching by contact number and to display the details.

    Password is my
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    06-04-2013
    Location
    UAR
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Searching by contact number and to display the details.

    Mr.AB33,

    Thank for your fast reply. I want to restrict unauthorized user to view details in sheet name data by password. For normal user all details in sheet name data should be hidden, normal user can view only by searching by phone number.

    In code you had written I tried by hiding data and tried to search. I am not getting any thing when data are hidden.

    I think you understand what I try to mean. I had attached file for your reference.
    Attached Files Attached Files
    Last edited by rajanvell1; 06-05-2013 at 02:34 AM.

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

    Re: Searching by contact number and to display the details.

    I am not sure if I understand your request. I have now changed the way you access the sheet. The sheet is not hidden but the person can not make any change on sheet data with out a password. When you press the search button, it will ask you for a password. When the macro finishes, the sheet is protected again.
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    06-04-2013
    Location
    UAR
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Searching by contact number and to display the details.

    Mr.AB33,

    Sorry for give you more tension. Please bare with me after searching I want to align in the shown format in the test file. I don't want any password. Pls help me and don't mistake me as I am new.
    Attached Files Attached Files
    Last edited by rajanvell1; 06-05-2013 at 06:46 AM.

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

    Re: Searching by contact number and to display the details.

    Try attached
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    06-04-2013
    Location
    UAR
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Searching by contact number and to display the details.

    Mr.AB33,

    I tried to attach your code in my file its not working fine I attached my original template kindly write code for that.

    Thanks in advance
    Attached Files Attached Files

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

    Re: Searching by contact number and to display the details.

    You do not need to attach my code, just copy the code in to your module and then assign the button to the code. You have not attached any code, so can not amend it. You need to attach the code with your book and show me what is not working.

  14. #14
    Registered User
    Join Date
    06-04-2013
    Location
    UAR
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Searching by contact number and to display the details.

    Mr.AB33,

    I had attached my file just check, by searching sl.no and name is not coming.

    Kindly help.
    Attached Files Attached Files

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

    Re: Searching by contact number and to display the details.

    The reason for changing copying the entire row is to save a speed, but it seems may not worth as you keep chaning the layout of your data.
    Use one of these

    Copies all the relevant cells

    Please Login or Register  to view this content.
    This line copies all
    Please Login or Register  to view this content.

+ 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