Finder tallene og tilføjer * el ** i samme selle som tal
Sub Star()
Range("A1", ActiveCell.SpecialCells(xlLastCell)).Select For Each c In Selection If c.Value > 0.21 Then c.Value = "**" & c.Value If c.Value > 0.16 And c.Value <= 0.21 Then c.Value = "*" & c.Value Next
Range("A1", ActiveCell.SpecialCells(xlLastCell)).Select For Each c In Selection If c.Value > 0.21 Then c.Value = "**" & Format(c.Value, "0.##") If c.Value > 0.16 And c.Value <= 0.21 Then c.Value = "*" & Format(c.Value, "0.##") Next
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.