Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-11-2016, 03:17 AM
macdadi112 macdadi112 is offline Shuffling a sentence Windows 7 64bit Shuffling a sentence Office 2010 64bit
Novice
Shuffling a sentence
 
Join Date: May 2016
Posts: 6
macdadi112 is on a distinguished road
Default



Quote:
Originally Posted by macropod View Post
Yes, a loop could be used (though in that case I wouldn't suggest working with selections) but, as I also said, 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... Consequently, the VBA 'shuffle' would treat it as 5 sentences that would each be shuffled only within that VBA 'sentence' range.
Thank you.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Shuffling a sentence End of sentence puncuation. nrsmd Word 2 07-04-2015 10:33 PM
Shuffling a sentence Delete does not bring second sentence closer to first sentence Andoheb Word 29 07-03-2014 01:48 PM
Shuffling a sentence First word of sentence IF and then awolf Word VBA 7 03-16-2014 02:40 PM
Space Between Each Sentence dazwm Word 2 10-17-2012 04:19 AM
Shuffling a sentence skip to next sentence? moreenz Word 3 08-16-2012 02:41 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:17 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