H
Heather Mills
Is there a function I can use in the following statement so I can code
a number instead of repeating the variable over and over?
Instead of:
vaColors = Array( _
wdRed, wdRed, wdRed, _
wdViolet, wdViolet, wdViolet, _
wdTurquoise, wdTurquoise, wdTurquoise, _
wdBrightGreen, wdBrightGreen, wdBrightGreen, _
wdGreen, wdGreen, wdGreen, _
wdBlue, wdBlue, wdBlue, wdBlue, _
wdDarkBlue, wdDarkBlue, wdDarkBlue, wdDarkBlue, _
wdYellow)
Something like:
vaColors = Array( _
wdRed*3 _
wdViolet*3 _
wdTurquoise*3 _
wdBrightGreen*3 _
wdGreen*3 _
wdBlue*4 _
wdDarkBlue*4 _
wdYellow*1)
a number instead of repeating the variable over and over?
Instead of:
vaColors = Array( _
wdRed, wdRed, wdRed, _
wdViolet, wdViolet, wdViolet, _
wdTurquoise, wdTurquoise, wdTurquoise, _
wdBrightGreen, wdBrightGreen, wdBrightGreen, _
wdGreen, wdGreen, wdGreen, _
wdBlue, wdBlue, wdBlue, wdBlue, _
wdDarkBlue, wdDarkBlue, wdDarkBlue, wdDarkBlue, _
wdYellow)
Something like:
vaColors = Array( _
wdRed*3 _
wdViolet*3 _
wdTurquoise*3 _
wdBrightGreen*3 _
wdGreen*3 _
wdBlue*4 _
wdDarkBlue*4 _
wdYellow*1)