Hi,
You must add code:
GetWorkbook(handle,Nothing).ActiveSheet.Range(reference).EntireColumn.Insert
VariableIn "reference".
example:
if you want to add one column "K:K".
if you want to add more "K:J". (Two columns added)
Regards,
------------------------------
Wojciech Furmanski
Consultant RPA
Digital Teammates SA
Europe/Warsaw
------------------------------