Hello:
Please refer to attached file.
I need VB Code to perform following.
I need to copy DEST.xlsm from location in Cell D21 to the same directory with the file name
in cell D24.
Let me know if you have any questions.
Thanks.
RM
Hello:
Please refer to attached file.
I need VB Code to perform following.
I need to copy DEST.xlsm from location in Cell D21 to the same directory with the file name
in cell D24.
Let me know if you have any questions.
Thanks.
RM
Last edited by rizmomin; 10-04-2015 at 01:57 PM.
Cell D1 is empty
Hello:
I am sorry, it is suppose to be D21.
Please help.
Thanks
RM
Hello:
Can someone help with this.
Thanks a lot
Riz
Hi,
Please try using the below code,
Sub Macro1()
Workbooks.Open Filename:="D:\DEST.xlsm"
Windows("DEST.xlsm").Activate
ActiveWorkbook.SaveAs Filename:="D:\Store1_Weekly_TimeData_09212015.xlsm", _
FileFormat:=xlOpenXMLWorkbookMacroEnabled, CreateBackup:=False
ActiveWindow.Close
End Sub
Regards,
Saranya
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks