![]() |
#1
|
|||
|
|||
![]()
In a Word document, how can I get the position of a string from the cursor position forward?
For example, if the cursor is on the 10th line from the start of the document and the string I am trying to find is on the 15th line, the function should return 5. If the string is found in multiple places throughout the document (both before and after the cursor), the function should return the position of the first match after the cursor. If it is found only before the cursor (or not found at all), the function should return a null value. Thank you! Alex |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
ilcaa72 | Word VBA | 3 | 04-28-2017 05:42 AM |
changing cursor position | anand | Word VBA | 2 | 06-19-2015 05:18 AM |
Increase Sentence Font at cursor position | ilcaa72 | Word VBA | 8 | 02-20-2014 08:40 AM |
Displaying cursor position within cell | MiamiTom | Excel | 0 | 11-18-2011 09:02 AM |
Retrieve position of Cursor - x & y positions | SDondeti | PowerPoint | 0 | 05-19-2011 11:39 AM |