I am trying to check against two value in a row, if that check passes then I want to copy the entire row at the end of the sheet.
LAST_ROW = 4488
CURRENT_ROW = 3
NEW_ROW = LAST_ROW + 2
while CURRENT_ROW <= LAST_ROW:
if Cell(CURRENT_ROW, 63).value == "12" or Cell(CURRENT_ROW, 63).value == 12:
if Cell(CURRENT_ROW, 65).value == "12" or Cell(CURRENT_ROW, 63).value == 12:
for column in range(200):
Cell(NEW_ROW, column).copy_from(Cell(CURRENT_ROW, column))
NEW_ROW += 1
CURRENT_ROW += 1
I get an "Exception: Exception from HRESULT: 0x800A03EC" error from the line "Cell(NEW_ROW..." and I am not sure why. Thank you as I have little to no experience with python and none with Data nitro.