Solved

Excel Dialogue Screen Not Suppressed

Posted on 2013-11-05
6
146 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
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…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

756 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