Macro Assistance (Remove First number)
Closed
z
-
Apr 21, 2010 at 11:35 AM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Apr 21, 2010 at 05:55 PM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Apr 21, 2010 at 05:55 PM
Related:
- Macro Assistance (Remove First number)
- Code to remove number from blacklist - Guide
- How to remove blacklist number - Guide
- Spell number in excel without macro - Guide
- Ubuntu remove password - Guide
- Remove wga - Download - Cleaning and optimization
1 response
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
Apr 21, 2010 at 05:55 PM
Apr 21, 2010 at 05:55 PM
Try this
Sub RemoveFirstPeriod() Dim lMaxRows As Long Dim vTemp As Variant lMaxRows = Cells(Rows.Count, "A").End(xlUp).Row For RowCount = 1 To lMaxRows vTemp = vbNull vTemp = InStr(1, Range("A" & RowCount), ".") If vTemp > 0 Then Range("A" & RowCount) = Mid(Range("A" & RowCount), vTemp + 1) End If Next RowCount End Sub