CellFormat object, ResultsSection object, TableSection object
Sets the color of a table border.
The BorderColor property uses the BqColorType constant group, which consists of these values:
bqAqua = 65535
bqBlack = 0
bqBlue = 255
bqBlueGray = 6710937
bqBrightGreen = 65280
bqBrown = 10824234
bqDarkBlue = 119
bqDarkGreen = 13056
bqDarkRed = 9109504
bqDarkTeal = 18504
bqDarkYellow = 14329120
bqGold = 16763904
bqGray40 = 10066329
bqGray50 = 8355711
bqGray80 = 3355443
bqGreen = 30464
bqIndigo = 4915330
bqLavender = 15132410
bqLightBlue = 11393254
bqLightGreen = 13434828
bqLightOrange = 16750848
bqLightTurquoise = 11529966
bqLightYellow = 16777113
bqLime = 10079232
bqOliveGreen = 3355392
bqOrange =16737792
bqPaleBlue = 10079487
bqPink = 16711936
bqPlum = 14524637
bqRed = 16711680
bqRose = 16751052
bqSeaGreen = 3050327
bqSkyBlue = 8900331
bqTan = 13808780
bqTeal = 30840
bqTransparent = 16711422
bqTurquoise = 4251856
bqViolet = 7864440
bqWhite = 16777215
bqYellow = 16776960
The BorderColor (Property) for the CellFormat object uses the BqDefaultFormatsColor constant group, which includes the following values:
bqDefaultFormatsBlack = 0
bqDefaultFormatsBlue = 255
bqDefaultFormatsCrimson = 8323072
bqDefaultFormatsCyan = 65535
bqDefaultFormatsDarkGrey = 8355711
bqDefaultFormatsGreen = 65280
bqDefaultFormatsJade = 32639
bqDefaultFormatsLavender = 8323327
bqDefaultFormatsLightGrey = 12566463
bqDefaultFormatsLightYellow =16777104
bqDefaultFormatsMustard = 8355584
bqDefaultFormatsNavy = 127
bqDefaultFormatsOlive =32512
bqDefaultFormatsPurple = 8323199
bqDefaultFormatsRed = 16711680
bqDefaultFormatsWhite = 16777215
bqDefaultFormatsYellow = 16776960
This example shows how to specify a red table border:
ActiveDocument.Sections["Table2"].BorderColor = bqRed