Hola te paso un ejemplo con un WebBrowser, yo se muy poco de CCS asi que masomenos arme uno a gusto despues vos modifica los estilos a tu gusto.
En un formulario agrega un webrowser1 y un command1
Option Explicit
Private Sub Form_Load()
Dim strCCS As String
strCCS = "<style type='text/css'>" & _
".ms-column2-main {" & _
" border-style: none;" & _
"}" & _
".ms-column2-left {" & _
" font-weight: normal;" & _
" color: black;" & _
" border-style: none;" & _
" background-color: silver;" & _
"}"
strCCS = strCCS & _
".style1 {" & _
" font-weight: bold;" & _
" color: white;" & _
" text-align: center;" & _
" border-style: none;" & _
" background-color: navy;" & _
"}" & _
".style2 {" & _
" text-decoration: underline;" & _
" color: #FF0000;" & _
"}"
strCCS = strCCS & _
".style3 {" & _
" font-weight: bold;" & _
" color: black;" & _
" text-align: right;" & _
" border-style: none;" & _
" background-color: #DDFFDD;" & _
"}" & _
".style4 {" & _
" font-weight: bold;" & _
" color: black;" & _
" text-align: right;" & _
" border-style: none;" & _
" background-color: silver;" & _
"}"
strCCS = strCCS & "</style>"
WebBrowser1.Navigate "about:blank"
Do While WebBrowser1.Busy: DoEvents: Loop
WebBrowser1.Document.write strCCS
End Sub
Private Sub Command1_Click()
Dim I As Long
Dim J As Long
Dim sValorMeses(11) As String
Dim sMontoDistribuido(11) As String
For I = 0 To 20
For J = 0 To 11
sValorMeses(J) = Format(Rnd, "0.00")
sMontoDistribuido(J) = Format(Rnd, "0.00")
Next
AddTable "NOMBRE DE LA UNIDAD", sValorMeses, sMontoDistribuido
Next
End Sub
Private Function AddTable(ByVal sUnidad As String, sVM() As String, sMD() As String)
Dim sTable As String
Dim I As Long
WebBrowser1.Document.write "<span class='style2'>" & sUnidad & "</span>"
sTable = "<table style='width: 100%' class='ms-column2-main'>" & _
"<tr>" & _
"<td class='style1'> </td>"
For I = 1 To 12
sTable = sTable & "<td class='style1'>" & UCase(Format("1/" & I & "/1", "MMM")) & "</td>"
Next
sTable = sTable & "</tr>"
sTable = sTable & "<tr><td class='ms-column2-left'>VALORES POR MESES</td>"
For I = 0 To 11
sTable = sTable & "<td class='style" & IIf(I Mod 2, 4, 3) & "'>" & sVM(0) & "</td>"
Next
sTable = sTable & "</tr>"
sTable = sTable & "<tr><td class='ms-column2-left'>MONTOS DISTRIBUIDOS</td>"
For I = 0 To 11
sTable = sTable & "<td class='style" & IIf(I Mod 2, 4, 3) & "'>" & sMD(0) & "</td>"
Next
sTable = sTable & "</tr></table>"
WebBrowser1.Document.write sTable & "</p>"
End Function
Saludos.