ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Disable exceptions thrown on File Save As (https://www.excelbanter.com/excel-discussion-misc-queries/58912-disable-exceptions-thrown-file-save.html)

mark

Disable exceptions thrown on File Save As
 
I am working on a long term project where I am creating thousands of csv
files from Excel using the File Save As menu item. Every time one does this
they get two messages: File type doesn't support multiple pages and
Myfile.csv may contain features that ...

It is totally madening and over the months its wasting a lot of time. How
can I disable the throwing of these exceptions?




--
mark b

Vincnet.

Disable exceptions thrown on File Save As
 
If you're using a macro, just put:
Application.DisplayAlerts = False
before the line using .SaveAS... and:
Application.DisplayAlerts = True after it...

If you don't use any macro, you can try using the event BeforeSave of the
workbook and testing the SaveAsUI parametre...
But if you don't want to use any macros, I can't see how to disable the
alerts!
---
KR,

V.


"mark" wrote:

I am working on a long term project where I am creating thousands of csv
files from Excel using the File Save As menu item. Every time one does this
they get two messages: File type doesn't support multiple pages and
Myfile.csv may contain features that ...

It is totally madening and over the months its wasting a lot of time. How
can I disable the throwing of these exceptions?




--
mark b




All times are GMT +1. The time now is 11:51 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com