A Microsoft Word forum. Microsoft Office Word Forum - WordBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Microsoft Office Word Forum - WordBanter forum » Microsoft Word Newsgroups » Formatting Long Documents
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How do I format text using section numbering?

Thread Tools Display Modes
Old November 8th 12, 05:38 PM
Pitchblackflame Pitchblackflame is offline
Junior Member
First recorded activity by WordBanter: Nov 2012
Posts: 1
Question How do I format text using section numbering?

I'm currently attempting to edit a "Testing Procedure" that's divided up into different sections, each potentially having subsections, which may have subsubsections, and so on and so forth.

In part of the procedure there are various steps that have an instruction to take a data recording and name the file according to the section number in which the step is contained. For example if it was Section "" the file would need to be named "Name_3_01_01_01_etc".

Currently I have most of them filled in with 3_XX_YY_ZZ (see attached image for example). So what I would like to have is a macro that looks for that string of text, then replaces that text with the numbers from the section that it's in.

I have a general familiarity with using VBA in microsoft word, but I'm completely clueless as to how to have a macro determine the section numbers.

Note: All section numbers that this applies to will be in the form of 3.XX.YY.ZZ, and XX, YY, and ZZ can each be one or two digit numbers.

Any help would be appreciated. Thanks.
Attached Images

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter-Section-Page format in Page Numbering? Vince Microsoft Word Help 11 December 3rd 09 06:24 PM
Word 2007:Continuous numbering in header, section numbering in foo wjprice New Users 12 July 30th 09 03:33 PM
Difficult Page Numbering/Section Break/Line Numbering Issue SuzieQ Page Layout 3 September 25th 08 10:55 PM
Section 1 should not take section 2 format when section 2 deleted SidewinderQc Page Layout 1 July 25th 06 08:39 AM
Table of contents numbering not consistent with page numbering format srd Tables 1 July 9th 06 07:49 PM

All times are GMT +1. The time now is 07:16 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright 2004-2021 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.