Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
SimonW-UK
 
Posts: n/a
Default When saving CSV excel always prompts about the file format

I work with a lot of csv files all day and they have to be this format for
other applications and scripts to use them.

Everytime I save Excel prompts "filename.csv may contain features that are
not compatible with csv, do you want to keep this format". This is the case
even with Control S. The only formating is that I make the columns big
enough for me to read whats in each cell.

Anyway - can I turn off this prompt so that Excel just saves the file as csv?

Thanks,
Simon
  #2   Report Post  
Posted to microsoft.public.excel.misc
Ron de Bruin
 
Posts: n/a
Default When saving CSV excel always prompts about the file format

Try this before the save

Application.DisplayAlerts = False

and reset it after the save

Application.DisplayAlerts = True

--
Regards Ron de Bruin
http://www.rondebruin.nl


"SimonW-UK" wrote in message ...
I work with a lot of csv files all day and they have to be this format for
other applications and scripts to use them.

Everytime I save Excel prompts "filename.csv may contain features that are
not compatible with csv, do you want to keep this format". This is the case
even with Control S. The only formating is that I make the columns big
enough for me to read whats in each cell.

Anyway - can I turn off this prompt so that Excel just saves the file as csv?

Thanks,
Simon



  #3   Report Post  
Posted to microsoft.public.excel.misc
SimonW-UK
 
Posts: n/a
Default When saving CSV excel always prompts about the file format

Thanks thats great.

In case anyone else reading is interested, you can create the following
macro and assign it to Control - S (or somthing else) in order to seamlessly
remove the warnings.



Sub SaveNoPrompt()
'
' Macro1 Macro
Application.DisplayAlerts = False
ActiveWorkbook.Save
Application.DisplayAlerts = True
End Sub



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I unlock FILE access? rcmodelr Excel Discussion (Misc queries) 7 November 12th 05 09:55 PM
Reflecting info between an excel file and a word one or two excel file. Starriol Excel Worksheet Functions 0 November 3rd 05 01:49 PM
Reflecting info between an excel file and a word one or two excel file. Starriol Links and Linking in Excel 0 November 3rd 05 01:49 PM
how do i disable warning when saving file in csv format? Anatoly Larkin Excel Discussion (Misc queries) 0 March 16th 05 09:21 PM
saving excel file as tab delimited Craig Hilliard Excel Discussion (Misc queries) 0 February 1st 05 10:39 PM


All times are GMT +1. The time now is 12:26 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"