Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (8)

Sign In or Sign Up now to post a comment!
  • How do you highlight the cells that contain the value found?

  • Set result = .Find(What:=searchterm, After:=.Cells(1, 1), LookIn:=xlFormulas, LookAt:=xlWhole, SearchOrder:=xlByColumns, SearchDirection:=xlNext, MatchCase:=MatchCase)

  • Can you elaborate more on not replacing the value in the cell. I tried "result.address Not last result" but I'm not sure of what to right anyway. Thanks for your help and for sharing this info.

  • Comment removed

  • This is really what i was looking for but can you help me on how to find any words in word document from excel. Example: A command button in Excel sheet will open a word file and then search for the word i'm looking for and will bold or color the selected word.

  • If I use .Cells(.Cells.Count) in the After setting the code bugs out with an overflow error, but If you change it to the (1, 1) cell it works fine.

    So change the setting After:=.Cells(.Cells.Count) to After:=.Cells(1, 1)

  • I keep getting an overflow error - number 6 with this code... not sure what the issue is as I have copied your code directly I think.

  • Can you upload your code in a text file? I seem to be having problems. Thanks.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more