Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Prevent workbook namechange on saveas

Status
Not open for further replies.

burtech

MIS
Jan 20, 2004
9
GB
Whenever a worksheet is saved to CSV format, it renames the workbook to the name of the worksheet + .csv. Is there any to prevent this?

Steve
 
With a macro :-
'---------------------------------------
Sub savecsv()
ActiveWorkbook.SaveAs FileName:= _
"C:\book1.xxx", FileFormat:=xlCSV, _
CreateBackup:=False
End Sub
'---------------------------------------


Regards
BrianB
Use CupOfCoffee to speed up all windows applications
================================
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top