Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel macro - Save as with override...
I am trying to handle "save as" command with override
of "File already exist, Do you want to replace it" from excel VB macro but I can't get it right. Using "ActiveWorkbook.Close Savechanges:=Active, Filename:="C:\Test1.txt", FileFormat:=xlText, CreateBackup:=False" Can not find any argument to override xl messagebox. Thanks! |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel macro - Save as with override...
Application.DisplayAlerts = False
before, and reset to True afterwards -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) " wrote in message ... I am trying to handle "save as" command with override of "File already exist, Do you want to replace it" from excel VB macro but I can't get it right. Using "ActiveWorkbook.Close Savechanges:=Active, Filename:="C:\Test1.txt", FileFormat:=xlText, CreateBackup:=False" Can not find any argument to override xl messagebox. Thanks! |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel macro - Save as with override...
Thanks!
Works just fine !!! -----Original Message----- Application.DisplayAlerts = False before, and reset to True afterwards -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) " wrote in message ... I am trying to handle "save as" command with override of "File already exist, Do you want to replace it" from excel VB macro but I can't get it right. Using "ActiveWorkbook.Close Savechanges:=Active, Filename:="C:\Test1.txt", FileFormat:=xlText, CreateBackup:=False" Can not find any argument to override xl messagebox. Thanks! . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel Date Format - users should be able to override it automatic. | Excel Discussion (Misc queries) | |||
Can a Macro override sheet Protection? | Excel Discussion (Misc queries) | |||
use excel formula to suggest cell value, but be able to override | Excel Discussion (Misc queries) | |||
Override save as Dialog box | Excel Worksheet Functions | |||
How do I override fixed decimal place settings in EXcel 2003? | Excel Worksheet Functions |