View Single Post
 
Old 01-03-2012, 04:14 PM
Jana Jana is offline Windows 7 32bit Office 2007
Novice
 
Join Date: Dec 2011
Posts: 28
Jana is on a distinguished road
Default Worked again!!!

Quote:
Originally Posted by macropod View Post
Hi Jana,

Change:
.MoveEnd wdCharacter, -1
to:
.MoveEnd wdCharacter, -2
and change:
.InsertAfter "}."
to:
.InsertAfter "}"
Fantastic. This working really good.
Please i have something last if is possible
1. I want to remove the space before the last }
2. And also i see if the code dont find heading 3 goes to heading 2 and puts {} empty but not very usefull and i dont wanted this if i dont have correspondind heading 3 for this,
3. It is easy to convert this macro whenever i want to do tha same job for other headings? For example if heading 9 goes to heading 8, or heading 6 to heading 5?
Reply With Quote