Can anyone suggest me that how we can select the range of text using script.
I am having some different para styles say for eg., PS1, PS2, PS3, PS4...........
I may applyed these styles in some jumping order but except PS1, now I want to select paragraphs with applied style PS1 to stop before the next appearence of PS1 style.
Like: In a document Para 1, 10, 14, 25 were applied with PS1, so the selection should go in the way like 1-9, 10-13, 14-24 and so on
Retrieving data ...