R
Roderick O'Regan
I've got a list of 13 different colour values which would allow a user to
select one from a commandbar menu item. This might say e.g. Green, Ochre,
Red and so on. In turn it would apply the appropriate RGB value to the
cells.
Something like in the following:
With Selection.Cells.Shading
.BackgroundPatternColor = RGB(150, 210, 56)
End With
How could I write a procedure, please, that would still keep the same menu
selections but change the RGB value in the few lines above and not have to
write 13 versions of each setting?
This should be able to work in Word 97 right up to 2002.
Regards
Roderick O'Regan
select one from a commandbar menu item. This might say e.g. Green, Ochre,
Red and so on. In turn it would apply the appropriate RGB value to the
cells.
Something like in the following:
With Selection.Cells.Shading
.BackgroundPatternColor = RGB(150, 210, 56)
End With
How could I write a procedure, please, that would still keep the same menu
selections but change the RGB value in the few lines above and not have to
write 13 versions of each setting?
This should be able to work in Word 97 right up to 2002.
Regards
Roderick O'Regan