Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by costincca

  1. costincca

    Problem with Find and automatic range expanding

    Hi, Indeed it worked. I was a bit skeptical because my initial version worked for some test files. I only noticed the looping when putting on a live file (not test). Thanks so much. Costin
  2. costincca

    Problem with Find and automatic range expanding

    Hi, It is one thing when I can define myself the start and end of a Range, than let Word choose. I thought I can control better, by specifying exact positions. I will try today the method proposed by you. Thanks, Costin PS: What if not?
  3. costincca

    Problem with Find and automatic range expanding

    Hi, Thank a lot for the answer. I will use this approach tonight to see how it behaves. I used the first method I described because I felt like having more control. Thank you again for your quick answer. Costin
  4. costincca

    Problem with Find and automatic range expanding

    Hi, Thanks a lot for the answer. I am sorry for using "moving" and "resizing" words inadequately and this caused confusion. Let me explain in more detail. Suppose I have the sentence: "The links are blue now, yesterday the links were black.". I need to extract the start and end positions were...
  5. costincca

    Problem with Find and automatic range expanding

    Hi, I am trying to loop through a document to find all occurences of a text. For example, I want to find "link". The sentence in the document is "The links are broken." Using the code below, I find the first occurence. After that, is set myRange to be from after the occurence to the end. And...

Part and Inventory Search

Back
Top