Solved

Excel Dialogue Screen Not Suppressed

Posted on 2013-11-05
6
140 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

920 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now