Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Well that was a little confusing, but I think this might do what you want. Code: -------------------- Sub getCase() Dim c As Excel.Range Dim x As Long Dim s() As String For Each c In Range("A1:A" & Cells(Rows.Count, 1).End(xlUp).Row) s = Split(c.Value, " v. ") c.Value = s(0) c.Offset(0, 1).Value = s(1) Next End Sub -------------------- -- Oorang ------------------------------------------------------------------------ Oorang's Profile: http://www.thecodecage.com/forumz/member.php?userid=129 View this thread: http://www.thecodecage.com/forumz/showthread.php?t=88 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Move/reset to the beginning of a TextStream | Excel Programming | |||
Need to move - from end of number to beginning | Excel Discussion (Misc queries) | |||
shortcut key to move to beginning of new row | Excel Worksheet Functions | |||
need enter key to move to the next column beginning | Excel Worksheet Functions | |||
Shortcut key to move to beginning of a worksheet | Excel Discussion (Misc queries) |