SamarthSalunkhe
Board Regular
- Joined
- Jun 14, 2021
- Messages
- 103
- Office Version
- 2016
- Platform
- Windows
Hi All,
I am using below code to create new workbook using current sheet data, but in addition I want to generate 3 files (.xlsx & .cvc (Comma delimited) & .txt (Tab delimited))
also, I want to save generated files on beside the current workbook, or it should ask where we want to save all 3 files.
VBA Code:
Sub Make_File()
Dim WbNew As Workbook
Sheet2.Copy
Cells.Copy
Application.CutCopyMode = False
End Sub
Really appreciate someone help on this.
I am using below code to create new workbook using current sheet data, but in addition I want to generate 3 files (.xlsx & .cvc (Comma delimited) & .txt (Tab delimited))
also, I want to save generated files on beside the current workbook, or it should ask where we want to save all 3 files.
VBA Code:
Sub Make_File()
Dim WbNew As Workbook
Sheet2.Copy
Cells.Copy
Application.CutCopyMode = False
End Sub
Really appreciate someone help on this.