Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-31-2018, 01:06 PM
macropod's Avatar
macropod macropod is offline Revisions Sentences Word Count Windows 7 64bit Revisions Sentences Word Count Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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


I don't think you're going to get what you're after, even if you address the issues of paragraph breaks and line breaks. That's because VBA has no idea what a grammatical sentence is. For example, consider the following:
Mr. Smith spent $1,234.56 at Dr. John's Grocery Store, to buy: 10.25kg of potatoes; 10kg of avocados; and 15.1kg of Mrs. Green's Mt. Pleasant macadamia nuts.
For you and me, that would count as one sentence; for VBA it counts as 5 sentences.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
revisions, track changes, word count macro



Similar Threads
Thread Thread Starter Forum Replies Last Post
Revisions Sentences Word Count problem with MS word merging words and sentences aretai Word 5 07-17-2018 12:32 AM
Revisions Sentences Word Count How to open the Revisions pane? billy8b8 PowerPoint 4 12-17-2014 04:22 PM
Revisions Sentences Word Count sentences are incomplete in word 2007 jirado Word 1 11-09-2014 01:32 PM
Find/Replace, Duplicating a word in a sentence to hundreds of sentences. DDDD Word 0 10-08-2013 10:48 AM
Revisions Sentences Word Count how to insert 3 sentences at top, center and bottom in word 2010 fay Word 1 05-19-2012 02:07 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:10 AM.


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