+ Reply to Thread
Results 1 to 7 of 7

search and move active cell to matched data

  1. #1
    Forum Contributor
    Join Date
    08-07-2008
    Location
    United States
    MS-Off Ver
    Microsoft Office 2003
    Posts
    362

    search and move active cell to matched data

    hi,

    I'm back again. I was able to get some help here before and Im hoping for another answer to my question. I need help with the code I have below. Actually the code was also taken from some of the threads I was able to read here. I need help in moving the active cell to the matched search data found. Currently the code below does not move the active cell to the matched searched data. Say, if a user will type employee id, once the user click the find button, it will return a value from the label I have but will not move the active cell to the matched or searched data. Please help me move the active cell to the matched searched entry. Thanks

    Please Login or Register  to view this content.
    Cheers,

    Stoey

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    Try changing

    Please Login or Register  to view this content.
    to

    Please Login or Register  to view this content.
    rylo

  3. #3
    Forum Contributor
    Join Date
    08-07-2008
    Location
    United States
    MS-Off Ver
    Microsoft Office 2003
    Posts
    362
    hi,

    wow that works. thanks! now how do I go about highlighting the entire row of the searched data?


    Cheers,

    Stoey

  4. #4
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    define "Highlight". Do you want it bolded, or have a pattern??? What formatting do you want to apply?

    To select the entire row, then try

    Please Login or Register  to view this content.
    Having selected it, you can then apply some sort of format. Or you can use the same approach without actually selecting it
    Please Login or Register  to view this content.
    HTH

    rylo

  5. #5
    Forum Contributor
    Join Date
    08-07-2008
    Location
    United States
    MS-Off Ver
    Microsoft Office 2003
    Posts
    362
    hi rylo,

    thanks again for your reply and assistance. I tried the code you have given and indeed no doubt it worked. But the problem is, the color stays to the row it highlighted. How can it be possible to just simply highlight the row and not make the highlight color stay. My worksheet have colors. I would like to use yellow color for highlighting but I dont want the highlighted color to stay on the selected row. I appreciate your kindness. Thanks

    Cheers,

    Stoey

  6. #6
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Stoey

    I just put up the color as an example. If you only want a temporary highlight, the only thing I can think of is to select the entire row.

    It will show until you move the cursor.

    rylo

  7. #7
    Forum Contributor
    Join Date
    08-07-2008
    Location
    United States
    MS-Off Ver
    Microsoft Office 2003
    Posts
    362
    hi rylo,

    thanks for your reply again. Yes you are right. That's what I did. I just used the .entirerow tag instead. Thanks a lot you were able to help me a lot.

    Cheers,

    Stoey

+ 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