Sub euros() Dim caja, endol, enlib As Double Dim I, X As Integer Dim cadena As Range If Selection.Information(wdWithInTable) = True Then For I = 1 To Selection.Rows(1).Cells.Count Set cadena = Selection.Tables(1).Cell(1, I).Range cadena.Find.Execute FindText:="EUROS", MatchWholeWord:=True, Forward:=True If cadena.Find.Found = True Then Selection.Tables(1).Range.Columns(I).Cells.Split NumColumns:=3 Selection.Tables(1).Cell(1, I).Range.Text = "ENEUROS" Selection.Tables(1).Cell(1, I + 1).Range.Text = "DOLARES" Selection.Tables(1).Cell(1, I + 2).Range.Text = "LIBRAS" For X = 2 To Selection.Columns(1).Cells.Count Set cadena = Selection.Tables(1).Cell(X, I).Range caja = Val(cadena.Text) endol = caja * 1.3216 enlib = caja * 0.85 Selection.Tables(1).Cell(X, I + 1).Range.Text = endol Selection.Tables(1).Cell(X, I + 2).Range.Text = enlib Next X End If Next I Else MsgBox ("situe el cusor sobre una tabla") End If End Sub