View Single Post
 
Old 07-10-2014, 12:04 AM
macropod's Avatar
macropod macropod is offline Windows 7 32bit 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