Codevol
Codevol
Application.ScreenUpdating = False
Application.DisplayStatusBar = False
Application.EnableEvents = False
ActiveSheet.DisplayPageBreaks = False
'Identificação
DataAtual = Worksheets("Original (2)").Range("D5").Value
LastBlankRow = wsEvolu.Cells(Rows.Count, 1).End(xlUp).Row + 1
With wsEvolu.Cells(LastBlankRow, 1)
.Value = "Evolução diurna" & " " & "(" & DataAtual & ")"
.Font.Bold = True
End With
'Nome
LastBlankRow = wsEvolu.Cells(Rows.Count, 1).End(xlUp).Row + 1
With wsEvolu.Cells(LastBlankRow, 1)
.Value = "Nome:"
.Font.Bold = True
End With
Next search
'Idade
Dim a As Range
LastBlankRow = wsEvolu.Cells(Rows.Count, 1).End(xlUp).Row + 1
With wsEvolu.Cells(LastBlankRow, 1)
.Value = "Idade:"
.Font.Bold = True
End With
'Diagnosticos
LastBlankRow = wsEvolu.Cells(Rows.Count, 1).End(xlUp).Row + 1
With wsEvolu.Cells(LastBlankRow, 1)
.Value = "#Diagnósticos"
.Font.Bold = True
End With
'HMA
LastBlankRow = wsEvolu.Cells(Rows.Count, 1).End(xlUp).Row + 1
With wsEvolu.Cells(LastBlankRow, 1)
.Value = "#História da moléstia atual:"
.Font.Bold = True
End With
'Antecedentes
LastBlankRow = wsEvolu.Cells(Rows.Count, 1).End(xlUp).Row + 1
With wsEvolu.Cells(LastBlankRow, 1)
.Value = "Antecedentes:"
.Font.Bold = True
End With
'Labs externos
LastBlankRow = wsEvolu.Cells(Rows.Count, 1).End(xlUp).Row + 1
With wsEvolu.Cells(LastBlankRow, 1)
.Value = "#Exames laboratoriais alterados (realizados em outro serviço):"
.Font.Bold = True
End With
'Imagens externos
LastBlankRow = wsEvolu.Cells(Rows.Count, 1).End(xlUp).Row + 1
With wsEvolu.Cells(LastBlankRow, 1)
.Value = "#Exames de imagem (realizados em outro serviço):"
.Font.Bold = True
End With
'Evolução
LastBlankRow = wsEvolu.Cells(Rows.Count, 1).End(xlUp).Row + 1
With wsEvolu.Cells(LastBlankRow, 1)
.Value = "#Evolução"
.Font.Bold = True
End With
'Controles
LastBlankRow = wsEvolu.Cells(Rows.Count, 1).End(xlUp).Row + 1
With wsEvolu.Cells(LastBlankRow, 1)
.Value = "#Controles:"
.Font.Bold = True
End With
'Exame Fisico:
LastBlankRow = wsEvolu.Cells(Rows.Count, 1).End(xlUp).Row + 1
With wsEvolu.Cells(LastBlankRow, 1)
.Value = "#Exame Fisíco:"
.Font.Bold = True
End With
'Sedação
LastBlankRow = wsEvolu.Cells(Rows.Count, 1).End(xlUp).Row + 1
With wsEvolu.Cells(LastBlankRow, 1)
.Value = "#Sedação:"
.Font.Bold = True
End With
'DVA
LastBlankRow = wsEvolu.Cells(Rows.Count, 1).End(xlUp).Row + 1
With wsEvolu.Cells(LastBlankRow, 1)
.Value = "# Drogas inotrópicas e vasopressoras:"
.Font.Bold = True
End With
'Dispositivos:
LastBlankRow = wsEvolu.Cells(Rows.Count, 1).End(xlUp).Row + 1
With wsEvolu.Cells(LastBlankRow, 1)
.Value = "#Dispositivos:"
.Font.Bold = True
End With
'Parâmetros Ventilatórios:
LastBlankRow = wsEvolu.Cells(Rows.Count, 1).End(xlUp).Row + 1
With wsEvolu.Cells(LastBlankRow, 1)
.Value = "# Parâmetros Ventilatórios:"
.Font.Bold = True
End With
'Nutrição:
LastBlankRow = wsEvolu.Cells(Rows.Count, 1).End(xlUp).Row + 1
With wsEvolu.Cells(LastBlankRow, 1)
.Value = "#Dispositivos:"
.Font.Bold = True
End With
'Renal:
LastBlankRow = wsEvolu.Cells(Rows.Count, 1).End(xlUp).Row + 1
With wsEvolu.Cells(LastBlankRow, 1)
.Value = "#Renal:"
.Font.Bold = True
End With
'Hematológico e Infeccioso:
LastBlankRow = wsEvolu.Cells(Rows.Count, 1).End(xlUp).Row + 1
With wsEvolu.Cells(LastBlankRow, 1)
.Value = "#Hematológico e Infeccioso:"
.Font.Bold = True
End With
'Antecedentes
LastBlankRow = wsEvolu.Cells(Rows.Count, 1).End(xlUp).Row + 1
With wsEvolu.Cells(LastBlankRow, 1)
.Value = "#Conduta médica::"
.Font.Bold = True
End With
Application.ScreenUpdating = True
Application.DisplayStatusBar = True
Application.EnableEvents = True
ActiveSheet.DisplayPageBreaks = True
End Sub