Professional Documents
Culture Documents
Dim T1 As Single
'titulos en celdas
Range("B2").Select
Range("B2").Select
Selection.Font.Bold = True
Range("C2").Select
Range("C2").Select
Selection.Font.Bold = True
Range("D2").Select
Range("D2").Select
Selection.Font.Bold = True
Range("E2").Select
Range("E2").Select
Selection.Font.Bold = True
Range("F2").Select
Range("F2").Select
Selection.Font.Bold = True
Range("A2").Select
Selection.Font.Bold = True
Range("A4").Select
Range("A4").Select
Selection.Font.Bold = True
Range("A6").Select
Range("A6").Select
Selection.Font.Bold = True
Range("A8").Select
Range("A8").Select
Selection.Font.Bold = True
Range("A10").Select
Range("A10").Select
Selection.Font.Bold = True
Range("A12").Select
Range("A12").Select
Selection.Font.Bold = True
Range("A14").Select
Range("A14").Select
Selection.Font.Bold = True
'pedir datos
contador = 0
contador = contador + 1
Wend
For w = T0 To tf Step Dt
Cells(p + 3, 2) = w: Cells(p + 3, 4) = w
funcionz = -1 / (w * TR)
Next w
Call grafico
End Sub
'Grafico
Sub grafico()
ChartsTemp(ChartsTemp.Count).Delete
End If
'caracteristicas
With graf
.Name = "Grafico"
.ChartType = xlXYScatterSmoothNoMarkers
End With
With ActiveChart
.HasTitle = True
.Axes(xlCategory).ScaleType = xlScaleLogarithmic
End With
With ActiveChart.Parent
.Left = 370:
.Top = 20:
End With
Range("A17").Select
ActiveCell.FormulaR1C1 = ""
Range("A17").Select
Selection.Font.Bold = True
End Sub