Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
how can I count number of bold-face recipe entries in Word list?
How can I keep count of the entries in a Word recipe list I am compiling?
Each entry is in bold face. I need to automatically keep track of new entries and deletions. Is there a code, tag, or micro for keeping a running count? |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
how can I count number of bold-face recipe entries in Word list?
dallf,
Two questions: what version of Word do you have, and are you using styles? I ask this because if you have Word XP (aka 2002) or Word 2003, then you could do this without any code at all. Create a paragraph style for recipes. Then turn on the Styles and Formatting taskpane and click on the style--it will say "select all XX instances of the style" where the "XX" is a number. Then you'll know how many recipes there are. Another way would be to write a simple macro that would tell you when you click a button or something. But again, that would really depend on you using a paragraph style for the recipes. Not sure if you're familiar with styles, but if not, I recommend going to microsoft.com/office and checking them out--they'll help you in all sorts of ways! "dallf" wrote: How can I keep count of the entries in a Word recipe list I am compiling? Each entry is in bold face. I need to automatically keep track of new entries and deletions. Is there a code, tag, or micro for keeping a running count? |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
how can I count number of bold-face recipe entries in Word lis
I have Word 2002, and never heard of styles.
Each entry is: 1. a boldface (BF) entry name, 2. a regular, non-BF roman 12 point description 3. a reference to other recipes, in SMALL CAPS So, if I select a sample entry, and open FORMATSTYLES, it says the font is BF, but only the recipe name is BF. I am trying to keep a running count of deleted and added recipes by counting all the BF entry names. Not sure how to proceed. Thanks! "Benjamino5" wrote: dallf, Two questions: what version of Word do you have, and are you using styles? I ask this because if you have Word XP (aka 2002) or Word 2003, then you could do this without any code at all. Create a paragraph style for recipes. Then turn on the Styles and Formatting taskpane and click on the style--it will say "select all XX instances of the style" where the "XX" is a number. Then you'll know how many recipes there are. Another way would be to write a simple macro that would tell you when you click a button or something. But again, that would really depend on you using a paragraph style for the recipes. Not sure if you're familiar with styles, but if not, I recommend going to microsoft.com/office and checking them out--they'll help you in all sorts of ways! "dallf" wrote: How can I keep count of the entries in a Word recipe list I am compiling? Each entry is in bold face. I need to automatically keep track of new entries and deletions. Is there a code, tag, or micro for keeping a running count? |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
how can I count number of bold-face recipe entries in Word lis
You cannot possibly use Word and not know about styles - all formatting is
performed with styles. the secret here is to create your own styles to lay out the document based on the formatting in the document. Put your cursor in a menu title paragraph. Format style new - name the paragraph style Recipe Name or somesuch. Save the style and add it to the template. Now apply that style to all your recipe titles. You can then create a table of contents based on that style. And please take the trouble to learn about styles as they are crucial to Word editing. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org dallf wrote: I have Word 2002, and never heard of styles. Each entry is: 1. a boldface (BF) entry name, 2. a regular, non-BF roman 12 point description 3. a reference to other recipes, in SMALL CAPS So, if I select a sample entry, and open FORMATSTYLES, it says the font is BF, but only the recipe name is BF. I am trying to keep a running count of deleted and added recipes by counting all the BF entry names. Not sure how to proceed. Thanks! "Benjamino5" wrote: dallf, Two questions: what version of Word do you have, and are you using styles? I ask this because if you have Word XP (aka 2002) or Word 2003, then you could do this without any code at all. Create a paragraph style for recipes. Then turn on the Styles and Formatting taskpane and click on the style--it will say "select all XX instances of the style" where the "XX" is a number. Then you'll know how many recipes there are. Another way would be to write a simple macro that would tell you when you click a button or something. But again, that would really depend on you using a paragraph style for the recipes. Not sure if you're familiar with styles, but if not, I recommend going to microsoft.com/office and checking them out--they'll help you in all sorts of ways! "dallf" wrote: How can I keep count of the entries in a Word recipe list I am compiling? Each entry is in bold face. I need to automatically keep track of new entries and deletions. Is there a code, tag, or micro for keeping a running count? |
#5
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
how can I count number of bold-face recipe entries in Word lis
This doesnt seem to be working -- is this approach as time-consuming as
counting entries one by one? I followed Graham's steps: "put cursor in a menu title paragraph. Format style new - name the paragraph style Recipe Name or somesuch. Save the style and add it to the template. Now apply that style to all your recipe titles." I guess a "menu title" is an entry; I did as you instructed -- do I have to manually apply the new style to every single entry throughout? And from here, how do get a word count of all entries? Thanks again. "Graham Mayor" wrote: You cannot possibly use Word and not know about styles - all formatting is performed with styles. the secret here is to create your own styles to lay out the document based on the formatting in the document. Put your cursor in a menu title paragraph. Format style new - name the paragraph style Recipe Name or somesuch. Save the style and add it to the template. Now apply that style to all your recipe titles. You can then create a table of contents based on that style. And please take the trouble to learn about styles as they are crucial to Word editing. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org dallf wrote: I have Word 2002, and never heard of styles. Each entry is: 1. a boldface (BF) entry name, 2. a regular, non-BF roman 12 point description 3. a reference to other recipes, in SMALL CAPS So, if I select a sample entry, and open FORMATSTYLES, it says the font is BF, but only the recipe name is BF. I am trying to keep a running count of deleted and added recipes by counting all the BF entry names. Not sure how to proceed. Thanks! "Benjamino5" wrote: dallf, Two questions: what version of Word do you have, and are you using styles? I ask this because if you have Word XP (aka 2002) or Word 2003, then you could do this without any code at all. Create a paragraph style for recipes. Then turn on the Styles and Formatting taskpane and click on the style--it will say "select all XX instances of the style" where the "XX" is a number. Then you'll know how many recipes there are. Another way would be to write a simple macro that would tell you when you click a button or something. But again, that would really depend on you using a paragraph style for the recipes. Not sure if you're familiar with styles, but if not, I recommend going to microsoft.com/office and checking them out--they'll help you in all sorts of ways! "dallf" wrote: How can I keep count of the entries in a Word recipe list I am compiling? Each entry is in bold face. I need to automatically keep track of new entries and deletions. Is there a code, tag, or micro for keeping a running count? |
#6
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
how can I count number of bold-face recipe entries in Word lis
Apply that new style to each recipe heading, then create a table of
contents - insert reference index and tables table of contents options uncheck outline levels pick your new style and make it TOC level 1. OK to create an index ( a table of contents). -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org dallf wrote: This doesnt seem to be working -- is this approach as time-consuming as counting entries one by one? I followed Graham's steps: "put cursor in a menu title paragraph. Format style new - name the paragraph style Recipe Name or somesuch. Save the style and add it to the template. Now apply that style to all your recipe titles." I guess a "menu title" is an entry; I did as you instructed -- do I have to manually apply the new style to every single entry throughout? And from here, how do get a word count of all entries? Thanks again. "Graham Mayor" wrote: You cannot possibly use Word and not know about styles - all formatting is performed with styles. the secret here is to create your own styles to lay out the document based on the formatting in the document. Put your cursor in a menu title paragraph. Format style new - name the paragraph style Recipe Name or somesuch. Save the style and add it to the template. Now apply that style to all your recipe titles. You can then create a table of contents based on that style. And please take the trouble to learn about styles as they are crucial to Word editing. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org dallf wrote: I have Word 2002, and never heard of styles. Each entry is: 1. a boldface (BF) entry name, 2. a regular, non-BF roman 12 point description 3. a reference to other recipes, in SMALL CAPS So, if I select a sample entry, and open FORMATSTYLES, it says the font is BF, but only the recipe name is BF. I am trying to keep a running count of deleted and added recipes by counting all the BF entry names. Not sure how to proceed. Thanks! "Benjamino5" wrote: dallf, Two questions: what version of Word do you have, and are you using styles? I ask this because if you have Word XP (aka 2002) or Word 2003, then you could do this without any code at all. Create a paragraph style for recipes. Then turn on the Styles and Formatting taskpane and click on the style--it will say "select all XX instances of the style" where the "XX" is a number. Then you'll know how many recipes there are. Another way would be to write a simple macro that would tell you when you click a button or something. But again, that would really depend on you using a paragraph style for the recipes. Not sure if you're familiar with styles, but if not, I recommend going to microsoft.com/office and checking them out--they'll help you in all sorts of ways! "dallf" wrote: How can I keep count of the entries in a Word recipe list I am compiling? Each entry is in bold face. I need to automatically keep track of new entries and deletions. Is there a code, tag, or micro for keeping a running count? |
#7
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
how can I count number of bold-face recipe entries in Word lis
I have several hundred entries; the book is nearly finished.
Will count and keep track manually. Maybe would have worked at the outset but sounds laborious for a 181-page document. Thanks for your help. "Graham Mayor" wrote: Apply that new style to each recipe heading, then create a table of contents - insert reference index and tables table of contents options uncheck outline levels pick your new style and make it TOC level 1. OK to create an index ( a table of contents). -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org dallf wrote: This doesnt seem to be working -- is this approach as time-consuming as counting entries one by one? I followed Graham's steps: "put cursor in a menu title paragraph. Format style new - name the paragraph style Recipe Name or somesuch. Save the style and add it to the template. Now apply that style to all your recipe titles." I guess a "menu title" is an entry; I did as you instructed -- do I have to manually apply the new style to every single entry throughout? And from here, how do get a word count of all entries? Thanks again. "Graham Mayor" wrote: You cannot possibly use Word and not know about styles - all formatting is performed with styles. the secret here is to create your own styles to lay out the document based on the formatting in the document. Put your cursor in a menu title paragraph. Format style new - name the paragraph style Recipe Name or somesuch. Save the style and add it to the template. Now apply that style to all your recipe titles. You can then create a table of contents based on that style. And please take the trouble to learn about styles as they are crucial to Word editing. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org dallf wrote: I have Word 2002, and never heard of styles. Each entry is: 1. a boldface (BF) entry name, 2. a regular, non-BF roman 12 point description 3. a reference to other recipes, in SMALL CAPS So, if I select a sample entry, and open FORMATSTYLES, it says the font is BF, but only the recipe name is BF. I am trying to keep a running count of deleted and added recipes by counting all the BF entry names. Not sure how to proceed. Thanks! "Benjamino5" wrote: dallf, Two questions: what version of Word do you have, and are you using styles? I ask this because if you have Word XP (aka 2002) or Word 2003, then you could do this without any code at all. Create a paragraph style for recipes. Then turn on the Styles and Formatting taskpane and click on the style--it will say "select all XX instances of the style" where the "XX" is a number. Then you'll know how many recipes there are. Another way would be to write a simple macro that would tell you when you click a button or something. But again, that would really depend on you using a paragraph style for the recipes. Not sure if you're familiar with styles, but if not, I recommend going to microsoft.com/office and checking them out--they'll help you in all sorts of ways! "dallf" wrote: How can I keep count of the entries in a Word recipe list I am compiling? Each entry is in bold face. I need to automatically keep track of new entries and deletions. Is there a code, tag, or micro for keeping a running count? |
#8
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
how can I count number of bold-face recipe entries in Word lis
*If only your headings are bold*, you could search for bold font and replace
with your style using the replace function. CTRL+H - click the more button. With your cursor in the 'Find what box' Type CTRL+B (bold). It will say Bold under the box. Move your cursor to the replace with box - type CTRL+B then format style and pick your style from the list. Select 'replace all' and all your headings will be changed. Obviously if you have used bold face elsewhere this isn't going to work as easily - though you can step through the document using find next and just replace the required ones, which will be faster than any manual approach. Then you can create the TOC. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org dallf wrote: I have several hundred entries; the book is nearly finished. Will count and keep track manually. Maybe would have worked at the outset but sounds laborious for a 181-page document. Thanks for your help. "Graham Mayor" wrote: Apply that new style to each recipe heading, then create a table of contents - insert reference index and tables table of contents options uncheck outline levels pick your new style and make it TOC level 1. OK to create an index ( a table of contents). -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org dallf wrote: This doesnt seem to be working -- is this approach as time-consuming as counting entries one by one? I followed Graham's steps: "put cursor in a menu title paragraph. Format style new - name the paragraph style Recipe Name or somesuch. Save the style and add it to the template. Now apply that style to all your recipe titles." I guess a "menu title" is an entry; I did as you instructed -- do I have to manually apply the new style to every single entry throughout? And from here, how do get a word count of all entries? Thanks again. "Graham Mayor" wrote: You cannot possibly use Word and not know about styles - all formatting is performed with styles. the secret here is to create your own styles to lay out the document based on the formatting in the document. Put your cursor in a menu title paragraph. Format style new - name the paragraph style Recipe Name or somesuch. Save the style and add it to the template. Now apply that style to all your recipe titles. You can then create a table of contents based on that style. And please take the trouble to learn about styles as they are crucial to Word editing. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org dallf wrote: I have Word 2002, and never heard of styles. Each entry is: 1. a boldface (BF) entry name, 2. a regular, non-BF roman 12 point description 3. a reference to other recipes, in SMALL CAPS So, if I select a sample entry, and open FORMATSTYLES, it says the font is BF, but only the recipe name is BF. I am trying to keep a running count of deleted and added recipes by counting all the BF entry names. Not sure how to proceed. Thanks! "Benjamino5" wrote: dallf, Two questions: what version of Word do you have, and are you using styles? I ask this because if you have Word XP (aka 2002) or Word 2003, then you could do this without any code at all. Create a paragraph style for recipes. Then turn on the Styles and Formatting taskpane and click on the style--it will say "select all XX instances of the style" where the "XX" is a number. Then you'll know how many recipes there are. Another way would be to write a simple macro that would tell you when you click a button or something. But again, that would really depend on you using a paragraph style for the recipes. Not sure if you're familiar with styles, but if not, I recommend going to microsoft.com/office and checking them out--they'll help you in all sorts of ways! "dallf" wrote: How can I keep count of the entries in a Word recipe list I am compiling? Each entry is in bold face. I need to automatically keep track of new entries and deletions. Is there a code, tag, or micro for keeping a running count? |
#9
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
how can I count number of bold-face recipe entries in Word lis
If all the headings are formatted in a specific way, and you have "Keep
track of formatting" checked on the Edit tab of Tools | Options, then when you select the formatting in the Styles and Formatting task pane, there will be an option to "Select all x instances," where x is the number of paragraphs with that formatting. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "dallf" wrote in message ... I have several hundred entries; the book is nearly finished. Will count and keep track manually. Maybe would have worked at the outset but sounds laborious for a 181-page document. Thanks for your help. "Graham Mayor" wrote: Apply that new style to each recipe heading, then create a table of contents - insert reference index and tables table of contents options uncheck outline levels pick your new style and make it TOC level 1. OK to create an index ( a table of contents). -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org dallf wrote: This doesnt seem to be working -- is this approach as time-consuming as counting entries one by one? I followed Graham's steps: "put cursor in a menu title paragraph. Format style new - name the paragraph style Recipe Name or somesuch. Save the style and add it to the template. Now apply that style to all your recipe titles." I guess a "menu title" is an entry; I did as you instructed -- do I have to manually apply the new style to every single entry throughout? And from here, how do get a word count of all entries? Thanks again. "Graham Mayor" wrote: You cannot possibly use Word and not know about styles - all formatting is performed with styles. the secret here is to create your own styles to lay out the document based on the formatting in the document. Put your cursor in a menu title paragraph. Format style new - name the paragraph style Recipe Name or somesuch. Save the style and add it to the template. Now apply that style to all your recipe titles. You can then create a table of contents based on that style. And please take the trouble to learn about styles as they are crucial to Word editing. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org dallf wrote: I have Word 2002, and never heard of styles. Each entry is: 1. a boldface (BF) entry name, 2. a regular, non-BF roman 12 point description 3. a reference to other recipes, in SMALL CAPS So, if I select a sample entry, and open FORMATSTYLES, it says the font is BF, but only the recipe name is BF. I am trying to keep a running count of deleted and added recipes by counting all the BF entry names. Not sure how to proceed. Thanks! "Benjamino5" wrote: dallf, Two questions: what version of Word do you have, and are you using styles? I ask this because if you have Word XP (aka 2002) or Word 2003, then you could do this without any code at all. Create a paragraph style for recipes. Then turn on the Styles and Formatting taskpane and click on the style--it will say "select all XX instances of the style" where the "XX" is a number. Then you'll know how many recipes there are. Another way would be to write a simple macro that would tell you when you click a button or something. But again, that would really depend on you using a paragraph style for the recipes. Not sure if you're familiar with styles, but if not, I recommend going to microsoft.com/office and checking them out--they'll help you in all sorts of ways! "dallf" wrote: How can I keep count of the entries in a Word recipe list I am compiling? Each entry is in bold face. I need to automatically keep track of new entries and deletions. Is there a code, tag, or micro for keeping a running count? |
#10
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
how can I count number of bold-face recipe entries in Word lis
Thanks.
Yes, all the entries are in boldface (but so is other stuff like question marks for my editor and some references, but eventually there'll be fewer of those). When I open Styles and click on Bold, Normal, it highlights all boldface icopy n the document, but I don;t see "Select all X instances" anywhere, though I inderstand your approach here. I have Word 2002, maybe it's less advanced "Suzanne S. Barnhill" wrote: If all the headings are formatted in a specific way, and you have "Keep track of formatting" checked on the Edit tab of Tools | Options, then when you select the formatting in the Styles and Formatting task pane, there will be an option to "Select all x instances," where x is the number of paragraphs with that formatting. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "dallf" wrote in message ... I have several hundred entries; the book is nearly finished. Will count and keep track manually. Maybe would have worked at the outset but sounds laborious for a 181-page document. Thanks for your help. "Graham Mayor" wrote: Apply that new style to each recipe heading, then create a table of contents - insert reference index and tables table of contents options uncheck outline levels pick your new style and make it TOC level 1. OK to create an index ( a table of contents). -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org dallf wrote: This doesnt seem to be working -- is this approach as time-consuming as counting entries one by one? I followed Graham's steps: "put cursor in a menu title paragraph. Format style new - name the paragraph style Recipe Name or somesuch. Save the style and add it to the template. Now apply that style to all your recipe titles." I guess a "menu title" is an entry; I did as you instructed -- do I have to manually apply the new style to every single entry throughout? And from here, how do get a word count of all entries? Thanks again. "Graham Mayor" wrote: You cannot possibly use Word and not know about styles - all formatting is performed with styles. the secret here is to create your own styles to lay out the document based on the formatting in the document. Put your cursor in a menu title paragraph. Format style new - name the paragraph style Recipe Name or somesuch. Save the style and add it to the template. Now apply that style to all your recipe titles. You can then create a table of contents based on that style. And please take the trouble to learn about styles as they are crucial to Word editing. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org dallf wrote: I have Word 2002, and never heard of styles. Each entry is: 1. a boldface (BF) entry name, 2. a regular, non-BF roman 12 point description 3. a reference to other recipes, in SMALL CAPS So, if I select a sample entry, and open FORMATSTYLES, it says the font is BF, but only the recipe name is BF. I am trying to keep a running count of deleted and added recipes by counting all the BF entry names. Not sure how to proceed. Thanks! "Benjamino5" wrote: dallf, Two questions: what version of Word do you have, and are you using styles? I ask this because if you have Word XP (aka 2002) or Word 2003, then you could do this without any code at all. Create a paragraph style for recipes. Then turn on the Styles and Formatting taskpane and click on the style--it will say "select all XX instances of the style" where the "XX" is a number. Then you'll know how many recipes there are. Another way would be to write a simple macro that would tell you when you click a button or something. But again, that would really depend on you using a paragraph style for the recipes. Not sure if you're familiar with styles, but if not, I recommend going to microsoft.com/office and checking them out--they'll help you in all sorts of ways! "dallf" wrote: How can I keep count of the entries in a Word recipe list I am compiling? Each entry is in bold face. I need to automatically keep track of new entries and deletions. Is there a code, tag, or micro for keeping a running count? |
#11
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
how can I count number of bold-face recipe entries in Word lis
If you click the arrow beside the formatting entry in the Styles and
Formatting pane, you will see "Select all x instances." -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "dallf" wrote in message ... Thanks. Yes, all the entries are in boldface (but so is other stuff like question marks for my editor and some references, but eventually there'll be fewer of those). When I open Styles and click on Bold, Normal, it highlights all boldface icopy n the document, but I don;t see "Select all X instances" anywhere, though I inderstand your approach here. I have Word 2002, maybe it's less advanced "Suzanne S. Barnhill" wrote: If all the headings are formatted in a specific way, and you have "Keep track of formatting" checked on the Edit tab of Tools | Options, then when you select the formatting in the Styles and Formatting task pane, there will be an option to "Select all x instances," where x is the number of paragraphs with that formatting. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "dallf" wrote in message ... I have several hundred entries; the book is nearly finished. Will count and keep track manually. Maybe would have worked at the outset but sounds laborious for a 181-page document. Thanks for your help. "Graham Mayor" wrote: Apply that new style to each recipe heading, then create a table of contents - insert reference index and tables table of contents options uncheck outline levels pick your new style and make it TOC level 1. OK to create an index ( a table of contents). -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org dallf wrote: This doesnt seem to be working -- is this approach as time-consuming as counting entries one by one? I followed Graham's steps: "put cursor in a menu title paragraph. Format style new - name the paragraph style Recipe Name or somesuch. Save the style and add it to the template. Now apply that style to all your recipe titles." I guess a "menu title" is an entry; I did as you instructed -- do I have to manually apply the new style to every single entry throughout? And from here, how do get a word count of all entries? Thanks again. "Graham Mayor" wrote: You cannot possibly use Word and not know about styles - all formatting is performed with styles. the secret here is to create your own styles to lay out the document based on the formatting in the document. Put your cursor in a menu title paragraph. Format style new - name the paragraph style Recipe Name or somesuch. Save the style and add it to the template. Now apply that style to all your recipe titles. You can then create a table of contents based on that style. And please take the trouble to learn about styles as they are crucial to Word editing. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org dallf wrote: I have Word 2002, and never heard of styles. Each entry is: 1. a boldface (BF) entry name, 2. a regular, non-BF roman 12 point description 3. a reference to other recipes, in SMALL CAPS So, if I select a sample entry, and open FORMATSTYLES, it says the font is BF, but only the recipe name is BF. I am trying to keep a running count of deleted and added recipes by counting all the BF entry names. Not sure how to proceed. Thanks! "Benjamino5" wrote: dallf, Two questions: what version of Word do you have, and are you using styles? I ask this because if you have Word XP (aka 2002) or Word 2003, then you could do this without any code at all. Create a paragraph style for recipes. Then turn on the Styles and Formatting taskpane and click on the style--it will say "select all XX instances of the style" where the "XX" is a number. Then you'll know how many recipes there are. Another way would be to write a simple macro that would tell you when you click a button or something. But again, that would really depend on you using a paragraph style for the recipes. Not sure if you're familiar with styles, but if not, I recommend going to microsoft.com/office and checking them out--they'll help you in all sorts of ways! "dallf" wrote: How can I keep count of the entries in a Word recipe list I am compiling? Each entry is in bold face. I need to automatically keep track of new entries and deletions. Is there a code, tag, or micro for keeping a running count? |
#12
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
how can I count number of bold-face recipe entries in Word lis
Excellent! Got a count. But want to weed out other boldface words--probably
ca 500 of this tally fit that description. Can I calculate how many boldface non-entries there are throughout the book, and subtract from first figure for entry total? "Suzanne S. Barnhill" wrote: If you click the arrow beside the formatting entry in the Styles and Formatting pane, you will see "Select all x instances." -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "dallf" wrote in message ... Thanks. Yes, all the entries are in boldface (but so is other stuff like question marks for my editor and some references, but eventually there'll be fewer of those). When I open Styles and click on Bold, Normal, it highlights all boldface icopy n the document, but I don;t see "Select all X instances" anywhere, though I inderstand your approach here. I have Word 2002, maybe it's less advanced "Suzanne S. Barnhill" wrote: If all the headings are formatted in a specific way, and you have "Keep track of formatting" checked on the Edit tab of Tools | Options, then when you select the formatting in the Styles and Formatting task pane, there will be an option to "Select all x instances," where x is the number of paragraphs with that formatting. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "dallf" wrote in message ... I have several hundred entries; the book is nearly finished. Will count and keep track manually. Maybe would have worked at the outset but sounds laborious for a 181-page document. Thanks for your help. "Graham Mayor" wrote: Apply that new style to each recipe heading, then create a table of contents - insert reference index and tables table of contents options uncheck outline levels pick your new style and make it TOC level 1. OK to create an index ( a table of contents). -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org dallf wrote: This doesnt seem to be working -- is this approach as time-consuming as counting entries one by one? I followed Graham's steps: "put cursor in a menu title paragraph. Format style new - name the paragraph style Recipe Name or somesuch. Save the style and add it to the template. Now apply that style to all your recipe titles." I guess a "menu title" is an entry; I did as you instructed -- do I have to manually apply the new style to every single entry throughout? And from here, how do get a word count of all entries? Thanks again. "Graham Mayor" wrote: You cannot possibly use Word and not know about styles - all formatting is performed with styles. the secret here is to create your own styles to lay out the document based on the formatting in the document. Put your cursor in a menu title paragraph. Format style new - name the paragraph style Recipe Name or somesuch. Save the style and add it to the template. Now apply that style to all your recipe titles. You can then create a table of contents based on that style. And please take the trouble to learn about styles as they are crucial to Word editing. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org dallf wrote: I have Word 2002, and never heard of styles. Each entry is: 1. a boldface (BF) entry name, 2. a regular, non-BF roman 12 point description 3. a reference to other recipes, in SMALL CAPS So, if I select a sample entry, and open FORMATSTYLES, it says the font is BF, but only the recipe name is BF. I am trying to keep a running count of deleted and added recipes by counting all the BF entry names. Not sure how to proceed. Thanks! "Benjamino5" wrote: dallf, Two questions: what version of Word do you have, and are you using styles? I ask this because if you have Word XP (aka 2002) or Word 2003, then you could do this without any code at all. Create a paragraph style for recipes. Then turn on the Styles and Formatting taskpane and click on the style--it will say "select all XX instances of the style" where the "XX" is a number. Then you'll know how many recipes there are. Another way would be to write a simple macro that would tell you when you click a button or something. But again, that would really depend on you using a paragraph style for the recipes. Not sure if you're familiar with styles, but if not, I recommend going to microsoft.com/office and checking them out--they'll help you in all sorts of ways! "dallf" wrote: How can I keep count of the entries in a Word recipe list I am compiling? Each entry is in bold face. I need to automatically keep track of new entries and deletions. Is there a code, tag, or micro for keeping a running count? |
#13
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
how can I count number of bold-face recipe entries in Word lis
This really comes back to the fact that you would be a lot better off if you
used a specific style for the headings. Then you could count instances of that specific style. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "dallf" wrote in message ... Excellent! Got a count. But want to weed out other boldface words--probably ca 500 of this tally fit that description. Can I calculate how many boldface non-entries there are throughout the book, and subtract from first figure for entry total? "Suzanne S. Barnhill" wrote: If you click the arrow beside the formatting entry in the Styles and Formatting pane, you will see "Select all x instances." -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "dallf" wrote in message ... Thanks. Yes, all the entries are in boldface (but so is other stuff like question marks for my editor and some references, but eventually there'll be fewer of those). When I open Styles and click on Bold, Normal, it highlights all boldface icopy n the document, but I don;t see "Select all X instances" anywhere, though I inderstand your approach here. I have Word 2002, maybe it's less advanced "Suzanne S. Barnhill" wrote: If all the headings are formatted in a specific way, and you have "Keep track of formatting" checked on the Edit tab of Tools | Options, then when you select the formatting in the Styles and Formatting task pane, there will be an option to "Select all x instances," where x is the number of paragraphs with that formatting. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "dallf" wrote in message ... I have several hundred entries; the book is nearly finished. Will count and keep track manually. Maybe would have worked at the outset but sounds laborious for a 181-page document. Thanks for your help. "Graham Mayor" wrote: Apply that new style to each recipe heading, then create a table of contents - insert reference index and tables table of contents options uncheck outline levels pick your new style and make it TOC level 1. OK to create an index ( a table of contents). -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org dallf wrote: This doesnt seem to be working -- is this approach as time-consuming as counting entries one by one? I followed Graham's steps: "put cursor in a menu title paragraph. Format style new - name the paragraph style Recipe Name or somesuch. Save the style and add it to the template. Now apply that style to all your recipe titles." I guess a "menu title" is an entry; I did as you instructed -- do I have to manually apply the new style to every single entry throughout? And from here, how do get a word count of all entries? Thanks again. "Graham Mayor" wrote: You cannot possibly use Word and not know about styles - all formatting is performed with styles. the secret here is to create your own styles to lay out the document based on the formatting in the document. Put your cursor in a menu title paragraph. Format style new - name the paragraph style Recipe Name or somesuch. Save the style and add it to the template. Now apply that style to all your recipe titles. You can then create a table of contents based on that style. And please take the trouble to learn about styles as they are crucial to Word editing. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org dallf wrote: I have Word 2002, and never heard of styles. Each entry is: 1. a boldface (BF) entry name, 2. a regular, non-BF roman 12 point description 3. a reference to other recipes, in SMALL CAPS So, if I select a sample entry, and open FORMATSTYLES, it says the font is BF, but only the recipe name is BF. I am trying to keep a running count of deleted and added recipes by counting all the BF entry names. Not sure how to proceed. Thanks! "Benjamino5" wrote: dallf, Two questions: what version of Word do you have, and are you using styles? I ask this because if you have Word XP (aka 2002) or Word 2003, then you could do this without any code at all. Create a paragraph style for recipes. Then turn on the Styles and Formatting taskpane and click on the style--it will say "select all XX instances of the style" where the "XX" is a number. Then you'll know how many recipes there are. Another way would be to write a simple macro that would tell you when you click a button or something. But again, that would really depend on you using a paragraph style for the recipes. Not sure if you're familiar with styles, but if not, I recommend going to microsoft.com/office and checking them out--they'll help you in all sorts of ways! "dallf" wrote: How can I keep count of the entries in a Word recipe list I am compiling? Each entry is in bold face. I need to automatically keep track of new entries and deletions. Is there a code, tag, or micro for keeping a running count? |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Word 97 in Windows XP to maintain formatting | Microsoft Word Help | |||
Converting WordPerfect 12 files to Word 2003 | New Users | |||
I am having difficulty with deleting headers and footers | New Users | |||
Change paper size; Word changes to invalid margins | New Users | |||
WP merge file to Word | Tables |