Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hello from Steved Whats my Objective simply replace Semi colon (":") example 07:40 to 0740 or 13:05 to 1305 The information is in Column C:C and I've asking it to be put in Column D:D please Sub ReplaceColon() For X = 1 To 1 Dim Rng As Range Set Rng = Format(Range("C2"), "hhmm").End(xlUp) Range("C2").Select For Each cell In Rng If cell.Value < "" Then ActiveCell.Offset(0, 1).Select ActiveCell.FormulaR1C1 = "=MID(RC[-1],1+(LEFT(RC[-1])=""0""),99)" ActiveCell.Offset(1, -1).Select End If Next cell Next X End Sub Thankyou |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need Help in VLOOKUP (second attempt) | Excel Programming | |||
Sumproduct - Second Attempt | Excel Worksheet Functions | |||
Do until code attempt.. | Excel Programming | |||
my first attempt at R1C1 in vba | Excel Programming | |||
1st attempt vba-how do i whatnext in this sub | Excel Programming |