CAn anyone help me for replacing text in word xp after numerous occurences. for example replace "," with ";" only after 17 occurences of ",". Thanks
or at least send me to the correct forum
CAn anyone help me for replacing text in word xp after numerous occurences. for example replace "," with ";" only after 17 occurences of ",". Thanks
or at least send me to the correct forum
Replacing text
shushi
can you help me
whats wrong in code
rng.Find.Execute findtext = "^#"
it works in built in word feature but in code I want to search for only digits
the compiler wont reconize without quotes and with quotes it will search for ^# not digits
'
Thanks
jupzi
Hello,
We have a few VSTO help topics that might help you accomplish this. Try "How to: Loop Through Found Items in Documents". You can find this topic at http://msdn2.microsoft.com/en-us/library/e7d13z59(VS.80).aspx. If you can loop through items and then place a selection at the 18th occurance of ",", then you can use info in the topic "How to: Search For and Replace Text in Documents". You can find that topic at http://msdn2.microsoft.com/en-us/library/f65x8z3d(VS.80).aspx. Does that help