Tips for writting macro in Excel
Closed
Abhi
-
17 Apr 2009 à 00:50
phdhopes Posts 20 Registration date Wednesday 17 September 2008 Status Member Last seen 11 May 2009 - 17 Apr 2009 à 04:55
phdhopes Posts 20 Registration date Wednesday 17 September 2008 Status Member Last seen 11 May 2009 - 17 Apr 2009 à 04:55
Related:
- Tips for writting macro in Excel
- Excel mod apk for pc - Download - Spreadsheets
- Kernel for excel repair - Download - Backup and recovery
- Arrow keys not working in excel - Guide
- Run macro in excel - Guide
- Run macro on opening: worksheet, workbook - Guide
1 response
phdhopes
Posts
20
Registration date
Wednesday 17 September 2008
Status
Member
Last seen
11 May 2009
2
17 Apr 2009 à 04:55
17 Apr 2009 à 04:55
try this:
With Activesheet
LastRow = .Cells(.Rows.Count, "A").End(xlUp).Row
For i = 1 To LastRow
.Cells(i, "A").Value = Right(.Cells(i, "A").Value, Len(.Cells(i, "A").Value)-1)
Next i
End With
With Activesheet
LastRow = .Cells(.Rows.Count, "A").End(xlUp).Row
For i = 1 To LastRow
.Cells(i, "A").Value = Right(.Cells(i, "A").Value, Len(.Cells(i, "A").Value)-1)
Next i
End With