Hello!
I need to bold the entire 'Grand Total' column. Now the number of columns varies so I am trying to find a way to lookup if the column says Grand Total and if so, bold that whole column.
Below is what I have so far. There can be a maximum total of 61 columns (including the Grand Total).
Dim lColumn1 As Long
Dim iCntr1 As Long
lColumn1 = 61
For iCntr = lColumn1 To 1 Step -1
If Cells(1, iCntr1) = "Grand Total" Then
Columns(iCntr1).Font.Bold
End If
Next
Any help would be appreciated!
I need to bold the entire 'Grand Total' column. Now the number of columns varies so I am trying to find a way to lookup if the column says Grand Total and if so, bold that whole column.
Below is what I have so far. There can be a maximum total of 61 columns (including the Grand Total).
Dim lColumn1 As Long
Dim iCntr1 As Long
lColumn1 = 61
For iCntr = lColumn1 To 1 Step -1
If Cells(1, iCntr1) = "Grand Total" Then
Columns(iCntr1).Font.Bold
End If
Next
Any help would be appreciated!