O
Owen
I am try to delete a row in Excel from Access
However when it reaches that piece of code it jumps out of
the function back to the sub it was called from.
Set oExcel = GetObject(, "Excel.Application")
With oExcel
Sheets("Prodmans Training Grid").Select
Gets to here then jumps
ActiveSheet.Delete xlUp
If Range("B3").Value = 0 Then Exit Do
Loop
End With
However when it reaches that piece of code it jumps out of
the function back to the sub it was called from.
Set oExcel = GetObject(, "Excel.Application")
With oExcel
Sheets("Prodmans Training Grid").Select
Gets to here then jumps
ActiveSheet.Delete xlUp
If Range("B3").Value = 0 Then Exit Do
Loop
End With