Hi...
I have a macro that loops through the data from a workbook and inserts into an Oracle Table.
Do
...
Read cell...
insert query...
...
ActiveCell.Offset(1, 0)
Loop Until IsEmpty(ActiveCell.Offset(0, 0))
The problem I am facing is, the spreadsheet the user passes have empty rows in between. for eg: Out of 100 rows, only 50 rows are inserted because 51st row is empty.
How do I avoid this?
Thanking you in anticipation.
I have a macro that loops through the data from a workbook and inserts into an Oracle Table.
Do
...
Read cell...
insert query...
...
ActiveCell.Offset(1, 0)
Loop Until IsEmpty(ActiveCell.Offset(0, 0))
The problem I am facing is, the spreadsheet the user passes have empty rows in between. for eg: Out of 100 rows, only 50 rows are inserted because 51st row is empty.
How do I avoid this?
Thanking you in anticipation.