Hello,
I have never used VBA before, so please go easy on me.
I would like to go through list of asset numbers and if any number ends with one or more zeroes, I would like them removed.
I have drafted something like:
Please check my syntax and logical process for any errors.![]()
Sub Remove_Zeros() If Right(Cell(3, 3), 1) = 0 Do Left(Cell(3,3), Len(Cell(3,3)-1)) Loop While Right(Cell(3, 3), 1) = 0 End If End Sub
Bookmarks