Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-30-2017, 09:13 AM
pjh21 pjh21 is offline Calculating Speech time in Footer Windows 10 Calculating Speech time in Footer Office 2016
Novice
Calculating Speech time in Footer
 
Join Date: Jul 2017
Posts: 2
pjh21 is on a distinguished road
Default 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!
Reply With Quote
  #2  
Old 07-30-2017, 04:01 PM
macropod's Avatar
macropod macropod is offline Calculating Speech time in Footer Windows 7 64bit Calculating Speech time in Footer Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
  #3  
Old 07-30-2017, 07:58 PM
gmayor's Avatar
gmayor gmayor is offline Calculating Speech time in Footer Windows 10 Calculating Speech time in Footer Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,101
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

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
Reply With Quote
  #4  
Old 07-30-2017, 09:21 PM
macropod's Avatar
macropod macropod is offline Calculating Speech time in Footer Windows 7 64bit Calculating Speech time in Footer Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by gmayor View Post
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.
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]
Reply With Quote
  #5  
Old 07-31-2017, 09:19 AM
pjh21 pjh21 is offline Calculating Speech time in Footer Windows 10 Calculating Speech time in Footer Office 2016
Novice
Calculating Speech time in Footer
 
Join Date: Jul 2017
Posts: 2
pjh21 is on a distinguished road
Default 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!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculating Speech time in Footer 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 Speech time in Footer Calculating Turnaround Time shstone Excel 4 12-11-2014 12:39 PM
Calculating Speech time in Footer Speech plug-in for PowerPoint Brytni Boyd PowerPoint 4 05-19-2010 09:39 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:35 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft