#1
|
|||
|
|||
Calculating Speech time in Footer
I want to be able to calculate the length of a speech I am writing using the NUMWORDS function. To do this, I want to take the number of words in my document and divide by 190 (the number of words spoken per minute).
I'm trying to do so using a table in the footer of my document: 7/28/2017 1:49 PM 3,822 { =B1/190 } Revision: 123 In the table, A1 is date and time of last revision, B1 is the number of words (using the NUMWORDS field code), C1 is the formula I am trying to do to calculate speech duration, and D1 is the Revision #. The formula I enter just sits there and does not evaluate. Any tips? Thanks! |
#2
|
||||
|
||||
How did you create the braces (i.e. { })? You can't just type them - they have to be created via Ctrl-F9 or Insert|Quick Parts|Field.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
||||
|
||||
Note also that neither { NUMWORDS } or { =B1/190 } fields update automatically. As they are in the footer you would either have to open the footer to update them or use a macro. http://www.gmayor.com/installing_macro.htm
Code:
Sub UpdateAllFields() Dim oStory As Range For Each oStory In ActiveDocument.StoryRanges oStory.Fields.Update If oStory.StoryType <> wdMainTextStory Then While Not (oStory.NextStoryRange Is Nothing) Set oStory = oStory.NextStoryRange oStory.Fields.Update Wend End If Next oStory Set oStory = Nothing lbl_Exit: Exit Sub End Sub
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
#4
|
||||
|
||||
All that's really needed for the calculation to update is a Print Preview. To ensure it updates before printing, check the 'Update fields before printing' option (File|Options|View|Display).
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
|||
|
|||
Perfect!
Thanks both of you so much for the help. I would have died of old age trying to figure that out for myself!
You guys are awesome! |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
calculating convoy time elements | reithj | Excel | 3 | 06-09-2016 10:01 AM |
Speech Mark problem. | voyagerone | Word | 9 | 02-02-2016 10:58 PM |
Calculating Average Time across days | lizakay | Excel | 3 | 11-25-2015 05:16 PM |
Calculating Turnaround Time | shstone | Excel | 4 | 12-11-2014 12:39 PM |
Speech plug-in for PowerPoint | Brytni Boyd | PowerPoint | 4 | 05-19-2010 09:39 AM |