Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 07-10-2014, 12:04 AM
macropod's Avatar
macropod macropod is offline Highlighting multiple word instances in text Windows 7 32bit Highlighting multiple word instances in text 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

Quote:
Originally Posted by gekser View Post
My task is to use not just 4 (four) words as an array but 160. VB does not allow me to use so many words in a single string.
Your array can have vastly more than 160 words. The problem you might encounter is the VBE's line length limit. To deal with that, simply use line separators. For example:
arrWords = Array("work", "dialogue", "would like", "first of all", _
"lorem ipsum", "dolor", "amet sit")

PS: When posting code, please use the code tags. They're on the 'Go Advanced' tab at the bottom of this screen.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 

Tags
highlight cognate words

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple identities in separate Outlook instances? brucemc777 Outlook 3 07-08-2014 10:36 PM
Highlighting multiple word instances in text multiple instances available? Guloluseus Project 3 01-31-2014 02:42 PM
Word 2010 running multiple instances JBE Word 0 09-28-2012 06:00 PM
Highlighting multiple word instances in text Email Duplicates & Multiple Instances Running trim Outlook 2 03-13-2012 11:25 AM
Text Highlighting in Yellow ??? mark4man Publisher 0 12-15-2005 06:46 PM

Other Forums: Access Forums

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