combine worksheets

Trying to combine several works sheets that have different columns.  Tried online VBA codes but cant’ get them to work.