how can I copy an existing excel macro file "test.xlsm" to a new Excel file in the same directory ("test copy.xlsm")? I have used this approach:
private static void copyFileUsingJava7Files(File source, File dest)
throws IOException {
Files.copy(source.toPath(), dest.toPath());
}
However, I cannot specify the filename of the copied file here and get a handle to use it afterwards. How can I achieve that?
cheers