D
donmiller23
I'm trying to get only certain cells to BOLD, but am running int
problems.
So far, I have the following:
Application.Run "'Part D-1 Regular.xls'!Unprotect_Sheet_Password"
Sheets("April").Select
If Range("O17") = "Bold" Then
Range("C17").Select
Selection.Font.Bold = True
ElseIf Range("O18") = "Bold" Then
Range("C18").Select
Selection.Font.Bold = True
ElseIf Range("O19") = "Bold" Then
Range("C19").Select
Selection.Font.Bold = True
ElseIf Range("O20") = "Bold" Then
Range("C20").Select
Selection.Font.Bold = True
Else
MsgBox "No Other Payor Sources to be Bold!"
End If
End Sub
If cell O18 doesn't say "BOLD" the script stops even if cell O19 doe
say "BOLD"
This is driving me crazy, I've also tried changing "ElseIf" to jus
"If" but it still runs into the same problem.
what am i doing wrong
problems.
So far, I have the following:
Application.Run "'Part D-1 Regular.xls'!Unprotect_Sheet_Password"
Sheets("April").Select
If Range("O17") = "Bold" Then
Range("C17").Select
Selection.Font.Bold = True
ElseIf Range("O18") = "Bold" Then
Range("C18").Select
Selection.Font.Bold = True
ElseIf Range("O19") = "Bold" Then
Range("C19").Select
Selection.Font.Bold = True
ElseIf Range("O20") = "Bold" Then
Range("C20").Select
Selection.Font.Bold = True
Else
MsgBox "No Other Payor Sources to be Bold!"
End If
End Sub
If cell O18 doesn't say "BOLD" the script stops even if cell O19 doe
say "BOLD"
This is driving me crazy, I've also tried changing "ElseIf" to jus
"If" but it still runs into the same problem.
what am i doing wrong