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)
 - Remove wga - Download - Cleaning and optimization
 - Remove number from blacklist samsung - Guide
 - Searchbaron remove - Guide
 - Ubuntu remove password - Guide
 - How to undo remove link on instagram bio - Instagram Forum
 
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