J
jer
I am a newbie. I have a table in access which was
imported from excel. Now I want to add a column
(control) and add data based on data in other cells. In
excel this would be done via a do until loop. First is
this possible in access? Secondly, in exel I would use
something like
Dim cell As Range
Set cell = ActiveWorkbook.ActiveSheet.Cells(2, 1)
Do Until IsEmpty(cell.Value)
If cell > 25 Then
cell.Offset(0, 1).value = "Over Due"
else cell.value = "On Time"
End If
Set cell = cell.Offset(1, 0)
Loop
imported from excel. Now I want to add a column
(control) and add data based on data in other cells. In
excel this would be done via a do until loop. First is
this possible in access? Secondly, in exel I would use
something like
Dim cell As Range
Set cell = ActiveWorkbook.ActiveSheet.Cells(2, 1)
Do Until IsEmpty(cell.Value)
If cell > 25 Then
cell.Offset(0, 1).value = "Over Due"
else cell.value = "On Time"
End If
Set cell = cell.Offset(1, 0)
Loop