outlawspeeder
Board Regular
- Joined
- Jan 17, 2009
- Messages
- 223
- Office Version
- 2019
Dim LRow As Long
LRow = Range("B1048576").End(xlUp).Row
'Columns("G2:G" & LRow).Select
'or
Columns("G2:" & "G" & LRow).Select
'''''''''How do I select G1615 if it is changing?'''''''''''''''''
ActiveCell.FormulaR1C1 = "=(""1/1/""&(IF(LEFT(RC[1],2)*1<20,2000,1900)+LEFT(RC[1],2)))+MOD(RC[1],1000)-1"
LRow = Range("B1048576").End(xlUp).Row
'Columns("G2:G" & LRow).Select
'or
Columns("G2:" & "G" & LRow).Select
'''''''''How do I select G1615 if it is changing?'''''''''''''''''
ActiveCell.FormulaR1C1 = "=(""1/1/""&(IF(LEFT(RC[1],2)*1<20,2000,1900)+LEFT(RC[1],2)))+MOD(RC[1],1000)-1"