Two problems in code (table sheet)

i did not understand please can you elaborate