0
Macro
set obj = ActiveDocument.GetSheetObject("CH1")
obj.Export "caminho_para_salvar_arquivo"
And now I need to close Excel, I used the following command.
obj.Close caminho_para_salvar_arquivo'
And I get the mistake
Wrong number of arguments or invalid property assignment: "obj.Close"
Try with this command:
ActiveWorkbook.Close Savechanges:=True
– R.Galamba
@R.Galamba tbm did not work, but after several attempts, it rolled "obj. Close"
– Brenda Xavier