By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,978 Members | 1,467 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,978 IT Pros & Developers. It's quick & easy.

How to Numbering each section using Word Automation?

gemmountain
P: 1
Hi, does anyone know how to use Word Automation to insert page numbers for each section in a Word document, and the numbering scheme of each section is independent, not the same as previous?

Suppose that my Word document have 3 sections:
Section 1: 3 pages
Section 2: 2 pages
Section 3: 4 pages

So i want my pages number are:
The first 3 pages (section 1) page number is 1,2,3
next 2 pages (section 2): number 1, 2
last 4 pages (section 3): number 2,3,4,5

i use C# Visual Studio 2005, Office 2003 and Microsoft Office 11.0 Object Library
Thank you so much!

------------
Sorry if you feel difficult to understand what i say, i'm not good at English :(
Aug 30 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.