How to extract different table data from scanned pdf

yes, error is gone,

but gave below error.

declared this variable as string and used message box to print the value.

let’s say this is first table, so what output the above expression would give?

image