ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Forcing Excel to replace a file without displaying the replace dialog box

I am using Excel to write xls files. When I try to replace an existing file it displays the replace file dialog box. Is there a way to force Excel to replace the existing files without displaying the dialog box (programmatically from within LabVIEW vi). I am attaching the vi's. Top level vi is MEPU-WriteTableToXL.vi and I'm saving the file in MEPU-SaveExcelFile.vi.
Please help.
0 Kudos
Message 1 of 3
(2,980 Views)

Hi rashid,

add the property "DisplayAlerts" in your "open Excel.vi" and set it to false.

Mike



Message Edited by MikeS81 on 02-29-2008 01:28 PM
Message 2 of 3
(2,973 Views)
God bless you MikeS81!
Worked like a charm.
Accept thanks from the depths of my heart.

Have a very pleasant weekend!
0 Kudos
Message 3 of 3
(2,963 Views)