Rank--vba code

halfthumb

Board Regular
Joined
Oct 15, 2010
Messages
53
<TABLE style="WIDTH: 308pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=413><COLGROUP><COL style="WIDTH: 44pt" span=7 width=59><TBODY><TR style="HEIGHT: 15.5pt" height=21><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext 0.5pt solid; BACKGROUND-COLOR: #7030a0; WIDTH: 44pt; HEIGHT: 15.5pt; BORDER-TOP: windowtext 0.5pt solid; BORDER-RIGHT: windowtext 0.5pt solid" class=xl75 height=21 width=59>A</TD><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext; BACKGROUND-COLOR: #7030a0; WIDTH: 44pt; BORDER-TOP: windowtext 0.5pt solid; BORDER-RIGHT: windowtext 0.5pt solid" class=xl76 width=59>B</TD><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext; BACKGROUND-COLOR: #7030a0; WIDTH: 44pt; BORDER-TOP: windowtext 0.5pt solid; BORDER-RIGHT: windowtext 0.5pt solid" class=xl86 width=59>K</TD><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext; BACKGROUND-COLOR: #7030a0; WIDTH: 44pt; BORDER-TOP: windowtext 0.5pt solid; BORDER-RIGHT: windowtext 0.5pt solid" class=xl75 width=59>HTR</TD><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext; BACKGROUND-COLOR: #7030a0; WIDTH: 44pt; BORDER-TOP: windowtext 0.5pt solid; BORDER-RIGHT: windowtext 0.5pt solid" class=xl86 width=59>KH</TD><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext; BACKGROUND-COLOR: #7030a0; WIDTH: 44pt; BORDER-TOP: windowtext 0.5pt solid; BORDER-RIGHT: windowtext 0.5pt solid" class=xl87 width=59>Rank</TD><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext; BACKGROUND-COLOR: #7030a0; WIDTH: 44pt; BORDER-TOP: windowtext 0.5pt solid; BORDER-RIGHT: windowtext 0.5pt solid" class=xl75 width=59>C</TD></TR><TR style="HEIGHT: 15.5pt" height=21><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray 0.5pt solid; BACKGROUND-COLOR: #dbeef3; WIDTH: 44pt; HEIGHT: 15.5pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: gray 0.5pt solid" class=xl83 height=21 width=59>1</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: gray 0.5pt solid" class=xl66 width=59>1</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: gray 0.5pt solid" class=xl84 width=59>102</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: gray 0.5pt solid" class=xl85 width=59>29</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #00b050; WIDTH: 44pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: gray 0.5pt solid" class=xl67 width=59>131</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: gray 0.5pt solid" class=xl74 width=59>4</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: red; WIDTH: 44pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: gray 0.5pt solid" class=xl68 width=59>28</TD></TR><TR style="HEIGHT: 15.5pt" height=21><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray 0.5pt solid; BACKGROUND-COLOR: #dbeef3; WIDTH: 44pt; HEIGHT: 15.5pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl77 height=21 width=59>1</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl65 width=59>2</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl78 width=59>89</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl79 width=59>37</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #00b050; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl64 width=59>126</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl72 width=59>6</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: red; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl63 width=59>28</TD></TR><TR style="HEIGHT: 15.5pt" height=21><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray 0.5pt solid; BACKGROUND-COLOR: #dbeef3; WIDTH: 44pt; HEIGHT: 15.5pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl77 height=21 width=59>1</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl65 width=59>3</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl78 width=59>105</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl79 width=59>42</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #00b050; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl64 width=59>147</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray 0.5pt solid; WIDTH: 44pt; FONT-FAMILY: Calibri; BACKGROUND: #ffc7ce; COLOR: #9c0006; FONT-SIZE: 12pt; BORDER-TOP: gray 0.5pt solid; FONT-WEIGHT: 400; BORDER-RIGHT: gray 0.5pt solid; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl72 width=59>1</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: red; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl63 width=59>28</TD></TR><TR style="HEIGHT: 15.5pt" height=21><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray 0.5pt solid; BACKGROUND-COLOR: #dbeef3; WIDTH: 44pt; HEIGHT: 15.5pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl77 height=21 width=59>1</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl65 width=59>4</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl78 width=59>90</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl79 width=59>31</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #00b050; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl64 width=59>121</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl72 width=59>7</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: red; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl63 width=59>28</TD></TR><TR style="HEIGHT: 15.5pt" height=21><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray 0.5pt solid; BACKGROUND-COLOR: #dbeef3; WIDTH: 44pt; HEIGHT: 15.5pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl77 height=21 width=59>1</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl65 width=59>5</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl78 width=59>100</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl79 width=59>28</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #00b050; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl64 width=59>128</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl72 width=59>5</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: red; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl63 width=59>28</TD></TR><TR style="HEIGHT: 15.5pt" height=21><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray 0.5pt solid; BACKGROUND-COLOR: #dbeef3; WIDTH: 44pt; HEIGHT: 15.5pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl77 height=21 width=59>1</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl65 width=59>6</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl78 width=59>103</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl79 width=59>42</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #00b050; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl64 width=59>145</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray 0.5pt solid; WIDTH: 44pt; FONT-FAMILY: Calibri; BACKGROUND: #c6efce; COLOR: #006100; FONT-SIZE: 12pt; BORDER-TOP: gray 0.5pt solid; FONT-WEIGHT: 400; BORDER-RIGHT: gray 0.5pt solid; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl72 width=59>2</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: red; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl63 width=59>28</TD></TR><TR style="HEIGHT: 15.5pt" height=21><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray 0.5pt solid; BACKGROUND-COLOR: #dbeef3; WIDTH: 44pt; HEIGHT: 15.5pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl77 height=21 width=59>1</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl65 width=59>7</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl78 width=59>93</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl79 width=59>42</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #00b050; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl64 width=59>135</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl72 width=59>3</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: red; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl63 width=59>28</TD></TR><TR style="HEIGHT: 16pt" height=21><TD style="BORDER-BOTTOM: windowtext 1.5pt solid; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: #dbeef3; WIDTH: 44pt; HEIGHT: 16pt; BORDER-TOP: gray; BORDER-RIGHT: #d4d0c8" class=xl80 height=21 width=59>1</TD><TD style="BORDER-BOTTOM: windowtext 1.5pt solid; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: #d4d0c8" class=xl69 width=59>8</TD><TD style="BORDER-BOTTOM: windowtext 1.5pt solid; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: #d4d0c8" class=xl81 width=59>74</TD><TD style="BORDER-BOTTOM: windowtext 1.5pt solid; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: #d4d0c8" class=xl82 width=59>22</TD><TD style="BORDER-BOTTOM: windowtext 1.5pt solid; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: #00b050; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: #d4d0c8" class=xl70 width=59>96</TD><TD style="BORDER-BOTTOM: windowtext 1.5pt solid; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: #d4d0c8" class=xl73 width=59>8</TD><TD style="BORDER-BOTTOM: windowtext 1.5pt solid; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: red; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: #d4d0c8" class=xl71 width=59>28</TD></TR><TR style="HEIGHT: 16pt" height=21><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray 0.5pt solid; BACKGROUND-COLOR: #dbeef3; WIDTH: 44pt; HEIGHT: 16pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: gray 0.5pt solid" class=xl83 height=21 width=59>2</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: gray 0.5pt solid" class=xl66 width=59>1</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: gray 0.5pt solid" class=xl84 width=59>103</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: gray 0.5pt solid" class=xl85 width=59>33</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #00b050; WIDTH: 44pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: gray 0.5pt solid" class=xl67 width=59>136</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: gray 0.5pt solid" class=xl74 width=59>4</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: red; WIDTH: 44pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: gray 0.5pt solid" class=xl68 width=59>38</TD></TR><TR style="HEIGHT: 15.5pt" height=21><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray 0.5pt solid; BACKGROUND-COLOR: #dbeef3; WIDTH: 44pt; HEIGHT: 15.5pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl77 height=21 width=59>2</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl65 width=59>2</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl78 width=59>103</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl79 width=59>50</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #00b050; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl64 width=59>153</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray 0.5pt solid; WIDTH: 44pt; FONT-FAMILY: Calibri; BACKGROUND: #c6efce; COLOR: #006100; FONT-SIZE: 12pt; BORDER-TOP: gray 0.5pt solid; FONT-WEIGHT: 400; BORDER-RIGHT: gray 0.5pt solid; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl72 width=59>2</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: red; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl63 width=59>38</TD></TR><TR style="HEIGHT: 15.5pt" height=21><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray 0.5pt solid; BACKGROUND-COLOR: #dbeef3; WIDTH: 44pt; HEIGHT: 15.5pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl77 height=21 width=59>2</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl65 width=59>3</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl78 width=59>108</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl79 width=59>36</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #00b050; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl64 width=59>144</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl72 width=59>3</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: red; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl63 width=59>38</TD></TR><TR style="HEIGHT: 15.5pt" height=21><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray 0.5pt solid; BACKGROUND-COLOR: #dbeef3; WIDTH: 44pt; HEIGHT: 15.5pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl77 height=21 width=59>2</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl65 width=59>4</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl78 width=59>98</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl79 width=59>31</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #00b050; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl64 width=59>129</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl72 width=59>5</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: red; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl63 width=59>38</TD></TR><TR style="HEIGHT: 15.5pt" height=21><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray 0.5pt solid; BACKGROUND-COLOR: #dbeef3; WIDTH: 44pt; HEIGHT: 15.5pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl77 height=21 width=59>2</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl65 width=59>5</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl78 width=59>110</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl79 width=59>76</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #00b050; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl64 width=59>186</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray 0.5pt solid; WIDTH: 44pt; FONT-FAMILY: Calibri; BACKGROUND: #ffc7ce; COLOR: #9c0006; FONT-SIZE: 12pt; BORDER-TOP: gray 0.5pt solid; FONT-WEIGHT: 400; BORDER-RIGHT: gray 0.5pt solid; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl72 width=59>1</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: red; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl63 width=59>38</TD></TR><TR style="HEIGHT: 16pt" height=21><TD style="BORDER-BOTTOM: windowtext 1.5pt solid; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: #dbeef3; WIDTH: 44pt; HEIGHT: 16pt; BORDER-TOP: gray; BORDER-RIGHT: #d4d0c8" class=xl80 height=21 width=59>2</TD><TD style="BORDER-BOTTOM: windowtext 1.5pt solid; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: #d4d0c8" class=xl69 width=59>6</TD><TD style="BORDER-BOTTOM: windowtext 1.5pt solid; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: #d4d0c8" class=xl81 width=59>83</TD><TD style="BORDER-BOTTOM: windowtext 1.5pt solid; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: #d4d0c8" class=xl82 width=59>34</TD><TD style="BORDER-BOTTOM: windowtext 1.5pt solid; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: #00b050; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: #d4d0c8" class=xl70 width=59>117</TD><TD style="BORDER-BOTTOM: windowtext 1.5pt solid; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: #d4d0c8" class=xl73 width=59>6</TD><TD style="BORDER-BOTTOM: windowtext 1.5pt solid; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: red; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: #d4d0c8" class=xl71 width=59>38</TD></TR><TR style="HEIGHT: 16pt" height=21><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray 0.5pt solid; BACKGROUND-COLOR: #dbeef3; WIDTH: 44pt; HEIGHT: 16pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: gray 0.5pt solid" class=xl83 height=21 width=59>3</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: gray 0.5pt solid" class=xl66 width=59>1</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: gray 0.5pt solid" class=xl84 width=59>65</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: gray 0.5pt solid" class=xl85 width=59>26</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #00b050; WIDTH: 44pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: gray 0.5pt solid" class=xl67 width=59>91</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: gray 0.5pt solid" class=xl74 width=59>6</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: red; WIDTH: 44pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: gray 0.5pt solid" class=xl68 width=59>37</TD></TR><TR style="HEIGHT: 15.5pt" height=21><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray 0.5pt solid; BACKGROUND-COLOR: #dbeef3; WIDTH: 44pt; HEIGHT: 15.5pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl77 height=21 width=59>3</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl65 width=59>2</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl78 width=59>101</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl79 width=59>38</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #00b050; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl64 width=59>139</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl72 width=59>4</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: red; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl63 width=59>37</TD></TR><TR style="HEIGHT: 15.5pt" height=21><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray 0.5pt solid; BACKGROUND-COLOR: #dbeef3; WIDTH: 44pt; HEIGHT: 15.5pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl77 height=21 width=59>3</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl65 width=59>3</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl78 width=59>101</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl79 width=59>52</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #00b050; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl64 width=59>153</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray 0.5pt solid; WIDTH: 44pt; FONT-FAMILY: Calibri; BACKGROUND: #c6efce; COLOR: #006100; FONT-SIZE: 12pt; BORDER-TOP: gray 0.5pt solid; FONT-WEIGHT: 400; BORDER-RIGHT: gray 0.5pt solid; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl72 width=59>2</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: red; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl63 width=59>37</TD></TR><TR style="HEIGHT: 15.5pt" height=21><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray 0.5pt solid; BACKGROUND-COLOR: #dbeef3; WIDTH: 44pt; HEIGHT: 15.5pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl77 height=21 width=59>3</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl65 width=59>5</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl78 width=59>107</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl79 width=59>66</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #00b050; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl64 width=59>173</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray 0.5pt solid; WIDTH: 44pt; FONT-FAMILY: Calibri; BACKGROUND: #ffc7ce; COLOR: #9c0006; FONT-SIZE: 12pt; BORDER-TOP: gray 0.5pt solid; FONT-WEIGHT: 400; BORDER-RIGHT: gray 0.5pt solid; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl72 width=59>1</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: red; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl63 width=59>37</TD></TR><TR style="HEIGHT: 15.5pt" height=21><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray 0.5pt solid; BACKGROUND-COLOR: #dbeef3; WIDTH: 44pt; HEIGHT: 15.5pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl77 height=21 width=59>3</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl65 width=59>7</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl78 width=59>94</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl79 width=59>52</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: #00b050; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl64 width=59>146</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl72 width=59>3</TD><TD style="BORDER-BOTTOM: gray 0.5pt solid; BORDER-LEFT: gray; BACKGROUND-COLOR: red; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: gray 0.5pt solid" class=xl63 width=59>37</TD></TR><TR style="HEIGHT: 16pt" height=21><TD style="BORDER-BOTTOM: windowtext 1.5pt solid; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: #dbeef3; WIDTH: 44pt; HEIGHT: 16pt; BORDER-TOP: gray; BORDER-RIGHT: #d4d0c8" class=xl80 height=21 width=59>3</TD><TD style="BORDER-BOTTOM: windowtext 1.5pt solid; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: #d4d0c8" class=xl69 width=59>8</TD><TD style="BORDER-BOTTOM: windowtext 1.5pt solid; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: #d4d0c8" class=xl81 width=59>97</TD><TD style="BORDER-BOTTOM: windowtext 1.5pt solid; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: #fcd5b4; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: #d4d0c8" class=xl82 width=59>34</TD><TD style="BORDER-BOTTOM: windowtext 1.5pt solid; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: #00b050; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: #d4d0c8" class=xl70 width=59>131</TD><TD style="BORDER-BOTTOM: windowtext 1.5pt solid; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: #d4d0c8" class=xl73 width=59>5</TD><TD style="BORDER-BOTTOM: windowtext 1.5pt solid; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: red; WIDTH: 44pt; BORDER-TOP: gray; BORDER-RIGHT: #d4d0c8" class=xl71 width=59>37</TD></TR></TBODY></TABLE>
I am trying to code my spreadsheet to automaticlly rank the numbers in the KH column. I can do this with the mouse but I've got over 60,000 rows.
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

Forum statistics

Threads
1,224,599
Messages
6,179,828
Members
452,946
Latest member
JoseDavid

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top