Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-31-2018, 12:59 PM
macropod's Avatar
macropod macropod is offline Acronym Finder Macro for Microsoft Word Windows 7 64bit Acronym Finder Macro for Microsoft Word Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,512
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

Because your acronyms are not enclosed in parentheses, you need to delete the following two lines from the code:
.Start = .Start + 1
.End = .End - 1
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #2  
Old 01-31-2018, 01:25 PM
guilome35 guilome35 is offline Acronym Finder Macro for Microsoft Word Windows 7 64bit Acronym Finder Macro for Microsoft Word Office 2010 32bit
Novice
 
Join Date: Jan 2018
Posts: 3
guilome35 is on a distinguished road
Default

Hello,

I had already removed the 2 lines
.Start = .Start + 1
.End = .End - 1
as i statued they were the 1st and last characters of the acronym so respectively "(" and ")".

Unfortunately i still have a error "5560" and the ".Execute" is highlighted (yellow).

When i use "[A-Z]{2}" instead of "[A-Z]{2,}" every word with 2 upper letter are selected.
Once i put the "," in the expression, i have the '5560' error.

Thank you,
Reply With Quote
Reply

Tags
acronym, macro, table

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto correct for Acronym mam9 Word 3 11-19-2012 01:35 AM
Acronym Finder Macro for Microsoft Word Macro for microsoft Word blukava Word VBA 7 05-27-2012 02:43 PM
Function Finder Kevin18014 Excel 3 01-02-2012 04:47 PM
Macro - Microsoft Word 2010 OfficeHelpSG Word 3 10-18-2011 11:54 AM
Please help with a macro in Microsoft Word 2007 AKMMS Word VBA 0 06-23-2010 02:16 PM

Other Forums: Access Forums

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