Sub PruebasFilaColumna()
Dim Fila As Long, Columna As Byte
With Worksheets("Hoja1")
.Activate
.Range("a:l").Clear
For Fila = 1 To 10
For Columna = 1 To 10
.Cells(Fila, Columna) = .Cells(Fila, Columna).Address(0, 0)
Next
Next
.Range("a" & Fila).Interior.Color = vbRed
.Cells(1, Columna).Interior.Color = vbYellow
.Cells(Fila, Columna).Interior.Color = vbGreen
.Range(.Cells(Fila + 2, 1), .Cells(Fila + 2, Columna)).Interior.Color = vbBlue
With .Cells(Fila - 1, Columna - 1)
With .Font
.Color = vbRed
.Bold = True
.Size = 14
End With
.Select
End With
End With
With ActiveCell
MsgBox "La celda seleccionada actualmente es " & .Address(0, 0) & "," & vbCr & _
"su nº de fila es " & .Row & " y el de la columna es el " & .Column & "."
End With
End Sub