Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
I'm faily new using VB. I wanted to move the last character so it will be the first character if only that character is a - . This will be withing the whole workbook. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub moveA()
For Each r In ActiveSheet.UsedRange If IsEmpty(r.Value) Then Else v = r.Value If Right(v, 1) = "a" Then r.Value = "a" & Left(v, Len(v) - 1) End If End If Next End Sub -- Gary''s Student - gsnu200780 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2007 - Formatting text in cell (character by character) | Excel Discussion (Misc queries) | |||
If cell has any character typed in it cell curser moves to next c | Excel Discussion (Misc queries) | |||
program cell to display any character when cell is active | Excel Programming | |||
importing undelimited text file data, character-by-character | Excel Programming | |||
Copy partial cell character format(s) from one cell to another - an example | Excel Programming |