Home > Software engineering >  VB export data to EXCEL and automatically save the file
VB export data to EXCEL and automatically save the file

Time:10-25

At the time of export data to EXCEL, some machines can be saved successfully, some of the machines will be prompted to the following error, I do not know where I went wrong, how to change? (data can be successfully exported to EXCEL, but is not automatically saved)

XlBook. SaveAs FileName:=App. Path & amp; "" & amp; StrFolder & amp; "" & amp; StrFilename & amp; ". XLS ", FileFormat:=xlExcel8

  •  Tags:  
  • VBA
  • Related