sunilbsrv2k
Board Regular
- Joined
- May 25, 2018
- Messages
- 73
Hi All,
I have a macro file, which on opening will create a file and save it in a folder.
I have created another macro to open the above macro file.
My question here is to move the file created by the above macro to a different folder.
Please help.
Below is my code:
I have a macro file, which on opening will create a file and save it in a folder.
I have created another macro to open the above macro file.
My question here is to move the file created by the above macro to a different folder.
Please help.
Below is my code:
Code:
Sub fcr_macro()
Dim wb As Workbook
Dim clname, compname As String
clname = Range("D2").Value
compname = Range("D3").Value
Set wb = Workbooks.Open("<path/file>")
wb.Close
End Sub