Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-26-2017, 11:55 AM
andrew626 andrew626 is offline Macro to number sentences Windows 7 64bit Macro to number sentences Office 2013
Novice
 
Join Date: Mar 2017
Posts: 5
andrew626 is on a distinguished road
Default


Sorry, I should have been more specific. How are the paragraph symbols, tabs etc coded in a macro? (I guess not as ^p, ^t etc).

And if you use the paragraph symbol code, will the VBA macro then treat that selection as sentence?

Thanks
Reply With Quote
  #2  
Old 03-26-2017, 03:58 PM
macropod's Avatar
macropod macropod is offline Macro to number sentences Windows 7 64bit Macro to number sentences Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,521
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 andrew626 View Post
Sorry, I should have been more specific.
Indeed. Let's start with you telling use what you're trying to achieve.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 03-27-2017, 02:11 PM
andrew626 andrew626 is offline Macro to number sentences Windows 7 64bit Macro to number sentences Office 2013
Novice
 
Join Date: Mar 2017
Posts: 5
andrew626 is on a distinguished road
Default

Just interested in learning how to use (maybe even write sometime) macros. Usually try to learn by modding something already written to do something else, so when I saw the macro you wrote for tjf, I thought it might be useful to play around with (only a dozen or so lines to understand) and renumber sentences by looking for the .¶ for instance, so as to avoid the . occurring as decimal points etc in your example sentence. So, purely a learning exercise.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Get paragraph number from macro brice Word VBA 4 06-30-2015 03:29 AM
How to find number of coma and then add that number of rows in word using macro? PRA007 Word VBA 7 05-27-2015 10:45 PM
Macro to number sentences Global macro across a number of different word files daffy Word VBA 6 07-08-2014 05:42 PM
Macro to number sentences Need a Macro that Combines Every 5 sentences into a paragraph jgarland Word 22 01-11-2012 11:19 AM
Macro to number sentences Page number Macro kimsi Word 3 11-15-2011 11:54 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:22 PM.


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