Copying and renaming unopened workbook in excel

前端 未结 2 1238
感动是毒
感动是毒 2021-01-15 01:59

I am trying to copy an entire unopened workbook located at one file path, rename it and save it to a new directory... I am having issues with the renaming and saving, here i

相关标签:
2条回答
  • 2021-01-15 02:39

    Why not just use:

    FileCopy(ToolFilePath,DestFilePath)
    

    No need to open it.

    0 讨论(0)
  • 2021-01-15 02:45

    You can also use the NAME method if you do not wish to retain the original file.

    Name ToolFilePath As DestFilePath
    
    0 讨论(0)
提交回复
热议问题