I am trying to see if it is possible to search an opened table to see if a column exists and if it does not, adding the column.
The file is named "Payroll01012024".
The columns I want to find are "Netpay", "Gross", "Deductions", and "Tax"
If they are not there, I want to add them. If they are there, move to the next column to check/add.
I saw an really old conversation about building functions, but it seemed to spawn an argument on best solution and was not specific in the coding so I figured I'd ask again and give exact names to work into the solution.
Thank you.