View Single Post
 
Old 11-04-2018, 04:02 AM
gloub gloub is offline Windows 7 64bit Office 2003
Novice
 
Join Date: Feb 2018
Location: Paris, France
Posts: 29
gloub is on a distinguished road
Default

Hi,

Sorry for answering a bit late, I was away for a few days.

So, as you asked, I post a file to make thigs clearer (sorry, I had to anonymise data, that's why texts looks so weird).

Basically, I'd like the macro to do this :
After selecting a chain (in red in my file), the whole paragraph (in yellow) will move just before the next paragraph starting with the same red chain (like the 2nd paragraph in yellow with the same red chain at the beginning).

The macro works fine on the yellow paragraphs, but doesn't on the green ones.
I can't figure out why...

Does anyone have any ideas?
Thanks.
Attached Files
File Type: doc test.doc (486.0 KB, 10 views)
Reply With Quote