Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
VB Help (Excel Warnings)
I have a .CSV file which I have created a macro to go through and sort data.
But when I save it I have about six million warning messages asking if I'm sure I want to save my work. Can I set the warnings to false and close the sheet from within my Macro? Thanks............. Alastair. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
VB Help (Excel Warnings)
TRY
Application.DisplayAlerts = False your code here Application.DisplayAlerts = True "Alastair79" wrote in message ... I have a .CSV file which I have created a macro to go through and sort data. But when I save it I have about six million warning messages asking if I'm sure I want to save my work. Can I set the warnings to false and close the sheet from within my Macro? Thanks............. Alastair. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
VB Help (Excel Warnings)
Perfect, thanks Jon.
"JON JON" wrote: TRY Application.DisplayAlerts = False your code here Application.DisplayAlerts = True "Alastair79" wrote in message ... I have a .CSV file which I have created a macro to go through and sort data. But when I save it I have about six million warning messages asking if I'm sure I want to save my work. Can I set the warnings to false and close the sheet from within my Macro? Thanks............. Alastair. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
disable Warnings in Excel | Excel Worksheet Functions | |||
Warnings when entering formulas in Excel | Excel Discussion (Misc queries) | |||
Disabling some MS Excel warnings. | Excel Discussion (Misc queries) | |||
Excel Macro Warnings | Excel Programming | |||
Getting rid of Outlook warnings from excel macro | Excel Programming |