From: Ganish on 4 Apr 2010 10:15 Hello, I am using WORD2007 to create large requirements documents. I have to allow the documents users fixed ID to every requirement. The section numbers will change whenever I edit the documents (and they are changed, and changed, and changed...) so I have to add a macro, or VBA application, that will allocate a unique ID from an up-counter whenever i activate it. The order of the sequence is not mandatory, but it is important that the numbers will no repeast, even if a number is deleted. can anyone help in this? regards Ganish
From: Ganish on 4 Apr 2010 10:20 On 4 ×פר××, 17:15, Ganish <ganishgan...(a)gmail.com> wrote: Additionally: The feature shouldbe internal to the OWRD2007 document, because I work both on line and off line.
From: Doug Robbins - Word MVP on 4 Apr 2010 17:57 It is not clear where the number actually is? Is it the filename of the document? How about appending a savedate field to what ever the number is? -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "Ganish" <ganishganish(a)gmail.com> wrote in message news:53434725-e357-47e2-9a32-fee965995870(a)w17g2000yqj.googlegroups.com... > Hello, > I am using WORD2007 to create large requirements documents. I have to > allow the documents users fixed ID to every requirement. The section > numbers will change whenever I edit the documents (and they are > changed, and changed, and changed...) so I have to add a macro, or VBA > application, that will allocate a unique ID from an up-counter > whenever i activate it. The order of the sequence is not mandatory, > but it is important that the numbers will no repeast, even if a number > is deleted. > > can anyone help in this? > > regards > > Ganish
From: Ganish on 5 Apr 2010 09:24 Doug, thanks. Actually, it should apear in the section header (for instance: 3.2.4 High Frequency Attenuation @@R15@@ Where: 3.2.4 - WORD automated number High frequency Attenuation - paragraph header @@R0015@@ - example for the paragraph UID. Time stamp can be a great idea. How can I create a macro that will place it in predefined format? D o u g R o b b i n s - W o r d M V P ; 6 9 0 0 9 5 W r o t e : > It is not clear where the number actually is? Is it the filename of the > document? How about appending a savedate field to what ever the number is? > > -- > Hope this helps. > > Please reply to the newsgroup unless you wish to avail yourself of my > services on a paid consulting basis. > > Doug Robbins - Word MVP, originally posted via msnews.microsoft.com > > "Ganish" <ganishganish(a)gmail.com> wrote in message > news:53434725-e357-47e2-9a32-fee965995870(a)w17g2000yqj.googlegroups.com... > > Hello, > > I am using WORD2007 to create large requirements documents. I have to > > allow the documents users fixed ID to every requirement. The section > > numbers will change whenever I edit the documents (and they are > > changed, and changed, and changed...) so I have to add a macro, or VBA > > application, that will allocate a unique ID from an up-counter > > whenever i activate it. The order of the sequence is not mandatory, > > but it is important that the numbers will no repeast, even if a number > > is deleted. > > > > can anyone help in this? > > > > regards > > > > Ganish -- Ganish ------------------------------------------------------------------------ Ganish's Profile: 1713 View this thread: http://www.thecodecage.com/forumz/showthread.php?t=192823 http://www.thecodecage.com/forumz
From: Doug Robbins - Word MVP on 5 Apr 2010 18:01 Assuming that these are individual documents, you could just use a { savedate \@ "yyyymmdd-hh:MM:ss" } field with a formatting switch -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "Ganish" <Ganish.48y6ev(a)thecodecage.com> wrote in message news:Ganish.48y6ev(a)thecodecage.com... > > Doug, thanks. Actually, it should apear in the section header (for > instance: 3.2.4 High Frequency Attenuation @@R15@@ > Where: > 3.2.4 - WORD automated number > High frequency Attenuation - paragraph header > @@R0015@@ - example for the paragraph UID. > > Time stamp can be a great idea. How can I create a macro that will > place it in predefined format? > > > Doug Robbins - Word MVP;690095 Wrote: >> > It is not clear where the number actually is? Is it the filename of > the >> document? How about appending a savedate field to what ever the number > is? >> >> -- >> Hope this helps. >> >> Please reply to the newsgroup unless you wish to avail yourself of my >> services on a paid consulting basis. >> >> Doug Robbins - Word MVP, originally posted via msnews.microsoft.com >> >> "Ganish" <ganishganish(a)gmail.com> wrote in message >> news:53434725-e357-47e2-9a32-fee965995870(a)w17g2000yqj.googlegroups.com... >> > Hello, >> > I am using WORD2007 to create large requirements documents. I have > to >> > allow the documents users fixed ID to every requirement. The section >> > numbers will change whenever I edit the documents (and they are >> > changed, and changed, and changed...) so I have to add a macro, or > VBA >> > application, that will allocate a unique ID from an up-counter >> > whenever i activate it. The order of the sequence is not mandatory, >> > but it is important that the numbers will no repeast, even if a > number >> > is deleted. >> > >> > can anyone help in this? >> > >> > regards >> > >> > Ganish > > > -- > Ganish > ------------------------------------------------------------------------ > Ganish's Profile: 1713 > View this thread: > http://www.thecodecage.com/forumz/showthread.php?t=192823 > > http://www.thecodecage.com/forumz >
|
Pages: 1 Prev: Declaring Public Variables from Another Program (Word 2007) Next: Creating bookmarks via VBA |