Question : Number of manual page breaks per section

Dear Experts:

I would like a macro to retrieve the following information when run against a document:

- Total number of manual page breaks (Ctrl + Enter)
- Number of page breaks per section, such as Section 2 (5 page breaks); Section 4 (3 page breaks) etc.

The information should be displayed in a MsgBox.

Help is much appreciated. Thank you very much in advance.

Regards, Andreas

Answer : Number of manual page breaks per section

Sorry, typo when copying and pasting.
That should have been
For /F "tokens=1*" %a in ( 'FIND /i "L3= " C:\zzsticker.txt' ) do set L3=%b
Random Solutions  
 
programming4us programming4us