Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 62
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default 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
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
disable Warnings in Excel Crazyhorse Excel Worksheet Functions 1 January 11th 08 06:54 PM
Warnings when entering formulas in Excel JV15 Excel Discussion (Misc queries) 2 May 13th 05 03:33 PM
Disabling some MS Excel warnings. Christopher Blue Excel Discussion (Misc queries) 0 January 1st 05 06:19 AM
Excel Macro Warnings Kent Prokopy[_3_] Excel Programming 0 August 8th 03 04:44 PM
Getting rid of Outlook warnings from excel macro Andrew[_12_] Excel Programming 1 July 10th 03 03:54 PM


All times are GMT +1. The time now is 09:48 PM.

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"