Solved

Excel Dialogue Screen Not Suppressed

Posted on 2013-11-05
6
144 Views
Last Modified: 2014-04-24
I am trying to open an excel spreadsheet and save it as a tab delimited text file. My issue is that all of a sudden excel pops up a dialogue box asking if I want to Save the original document. I cannot find any way to suppress this. See code below:
excel.txt
0
Comment
Question by:OB1Canobie
6 Comments
 
LVL 13

Accepted Solution

by:
Shanan212 earned 500 total points
ID: 39625023
application.DisplayAlerts = False

Open in new window


Put that before your 'save' code

and at the end of your code

Application.DisplayAlerts = true

Open in new window

0
 

Author Comment

by:OB1Canobie
ID: 39625120
Changed the code per suggestion. Still getting the popup. See attached.
Capture.JPG
0
 
LVL 29

Expert Comment

by:leonstryker
ID: 39625135
Shanan212, he is already using that. Look in the sample code he is giving.

At which point does it pop the dialog box? Then you are saving it or when you are closing it?

Leon
0
ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

 

Author Comment

by:OB1Canobie
ID: 40020099
I've requested that this question be closed as follows:

Accepted answer: 0 points for OB1Canobie's comment #a39625120

for the following reason:

Figured out the issue.
0
 

Author Comment

by:OB1Canobie
ID: 40020014
Question was answered on my own without answer from any expert.
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 40020075
Either post the solution and accept that or delete the question please.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question