I can't the file is too large
' Sophisticated Letter & UoW Closure
ElseIf MTT_Script.UoW = "Sophistication: Awaiting Uow Closure" And MTT_Script.Letter = "Sophisticated" Then
Sheets("Sheet2").Select
Range("D2:S32").Select
Selection.ClearContents
Selection.Font.Underline = xlUnderlineStyleNone
Selection.Font.ColorIndex = 0
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlCenter
.MergeCells = True
.WrapText = True
Selection.Borders(xlDiagonalDown).LineStyle = xlNone
Selection.Borders(xlDiagonalUp).LineStyle = xlNone
With Selection.Borders(xlEdgeLeft)
.LineStyle = xlContinuous
.Weight = xlMedium
.ColorIndex = xlAutomatic
End With
With Selection.Borders(xlEdgeTop)
.LineStyle = xlContinuous
.Weight = xlMedium
.ColorIndex = xlAutomatic
End With
With Selection.Borders(xlEdgeBottom)
.LineStyle = xlContinuous
.Weight = xlMedium
.ColorIndex = xlAutomatic
End With
With Selection.Borders(xlEdgeRight)
.LineStyle = xlContinuous
.Weight = xlMedium
.ColorIndex = xlAutomatic
End With
Selection.Borders(xlInsideVertical).LineStyle = xlNone
Selection.Borders(xlInsideHorizontal).LineStyle = xlNone
With Sheets("Sheet2").Range("D2:S32")
End With
.Value = "“Your case has been deemed Sophisticated which means you are not in scope of the review.“" & vbNewLine & _
vbNewLine & _
"“We wrote to you on " & Sheets("Sheet1").Range("P20") & " to advise you of this and to ask whether you wanted to provide further information“" & vbNewLine & _
vbNewLine & _
"“Have you received this letter?“" & vbNewLine & _
"If No - Select the Unreceived Letters Button."
.Font.Name = "Arial"
.Font.Size = 22
Range("A1").Select
End With
Should clarify, Userform is called "MTT_Script" combobox is "called UoW" and texbox is called (UoWD).
I'd like to replace the below in the end script
" & Sheets("Sheet1").Range("P20") & "
with OllyXLS suggestion of
Bookmarks