Learn when you want, where you want with convenient online training courses. Sign up now!
[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More
Experts Exchange Solution brought to you by
"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.
Public Sub x()
Dim r As Range
Dim c As Range
Set r = Sheet1.Range("A2:A" & Sheet1.UsedRange.Rows.Count)
For Each c In r.Cells
If Not (c.Value2 Like "x*") Then
c.Value2 = "x" & c.Value2
Open in new window
Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.
Public Sub Q_28375881()
Dim objCell As Range
For Each objCell In Range([A2], Cells(Cells.Rows.Count, 1).End(xlUp))
If IsNumeric(objCell) Then
objCell = "x" & objCell.Text
End If ' If IsNumeric(objCell) Then
Set objCell = Nothing
Learn the top ten threats that are present in modern web-application development and how to protect your business from them.
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.