You are on page 1of 1

Sub EscribirCelda()

On Error Resume Next


Application.ScreenUpdating = False
Range("C2") = "Tomy Lee"
Range("C3") = "Dayra Col"
Range("C3").Font.Color = 255
Range("C4") = "Tomy Lee"
Range("C4").Interior.Color = 15773696
Range("C5").AddComment ("Prueba")
ActiveSheet.Hyperlinks.Add Anchor:=Range("C6"), Address:= _
"http://programarexcel.com", TextToDisplay:="http://programarexcel.com"
ActiveSheet.Hyperlinks.Add Anchor:=Range("C7"), Address:= _
"http://programarexcel.com", TextToDisplay:="http://programarexcel.com"
Range("C8").Validation.Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop,
Operator:= _
xlBetween, Formula1:="=$F$6:$F$10"
Application.ScreenUpdating = True
End Sub

You might also like