+ Reply to Thread
Results 1 to 5 of 5

Need a macro to search my phone directory.

  1. #1
    Registered User
    Join Date
    07-10-2013
    Location
    Maldives
    MS-Off Ver
    Excel 2013
    Posts
    3

    Need a macro to search my phone directory.

    I'm after a hopefully simple Macro/VBA code for my sheet i am using, i have searched far and wide but my VBA knowledge is quite limited so am not sure what the coding is.

    Basically i have two sheets, Sheet2 has all the data stored, which i want to search in sheet 1 by macro, and results to be returned in sheet s 1.

    I have sample sheet which i have some macro in it. However data and result page is in same sheet, which i want data to be in sheet2. but i cannot make aworking macro.Please help

    Data is in sheet 1 from column A to D

    Staff Directory - Copy.xls
    Last edited by fysxx; 11-10-2013 at 09:13 AM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,882

    Re: [HELP] macro search

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    07-10-2013
    Location
    Maldives
    MS-Off Ver
    Excel 2013
    Posts
    3

    Re: [HELP] macro search

    Quote Originally Posted by alansidman View Post
    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Sorry for breaches of the rule, I was unaware of it.

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,882

    Re: Need a macro to search my phone directory.

    I have examined your workbook. There is no data contained in Sheet2. What specifically are you trying to do? Please if you will, supply a before and after scenario. For the after, manually show what you are looking for VBA to do. We need more information to help you make this work.

  5. #5
    Registered User
    Join Date
    07-10-2013
    Location
    Maldives
    MS-Off Ver
    Excel 2013
    Posts
    3

    Re: Need a macro to search my phone directory.

    Quote Originally Posted by alansidman View Post
    I have examined your workbook. There is no data contained in Sheet2. What specifically are you trying to do? Please if you will, supply a before and after scenario. For the after, manually show what you are looking for VBA to do. We need more information to help you make this work.
    Ya. In my sample worbook I have put all the data in sheet1(Its in column A to D, which is Names and designation and phone no), I want those Data ito be in Sheet2 and serch for it in active x text box. and result to come in Sheet 1 as in my sample.

+ 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. [SOLVED] Macro/s to create Search Bar to filter to search terms entered activated by Command Button
    By JasonRay in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-08-2013, 03:44 PM
  2. Linking Search Results from an existing search macro
    By mougiasm in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-16-2013, 04:15 PM
  3. [SOLVED] Macro to search a string, then search above for another one and copy the rows between them
    By DarKDjinni in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-20-2012, 09:36 PM
  4. [SOLVED] Macro ignores search code when 1 of the 2 search parameters is not found
    By BrodyNoochie in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-25-2012, 05:21 PM
  5. Userform to Control Macro Features. Macro = Search for File Type
    By R_S_6 in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 12-13-2010, 11:51 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