ChrisGrigg
New Member
- Joined
- Nov 14, 2018
- Messages
- 6
Hi all
Hoping for some help on the below please.
I have an xlsm workbook (Work Order Listing) that I want to save as as a unicode txt file (Cheops Upload) without prompts. The VBA code is in the Work Order listing workbook.
I can achieve this but with the below but is closes Work Order Listing. I need Work Order Listing to remain open and have Cheops Upload to close and save without prompts.
Sub Save_As_Text()
Application.DisplayAlerts = False
ActiveWorkbook.SaveAs Filename:="C:\Users\cgrigg\Documents\Cheops Upload.txt", FileFormat:=xlText
Application.DisplayAlerts = True
End Sub
I hope i have explained this ok?? Any help is appreciated
Thanks Chris
Hoping for some help on the below please.
I have an xlsm workbook (Work Order Listing) that I want to save as as a unicode txt file (Cheops Upload) without prompts. The VBA code is in the Work Order listing workbook.
I can achieve this but with the below but is closes Work Order Listing. I need Work Order Listing to remain open and have Cheops Upload to close and save without prompts.
Sub Save_As_Text()
Application.DisplayAlerts = False
ActiveWorkbook.SaveAs Filename:="C:\Users\cgrigg\Documents\Cheops Upload.txt", FileFormat:=xlText
Application.DisplayAlerts = True
End Sub
I hope i have explained this ok?? Any help is appreciated
Thanks Chris