?
Solved

Delete Sheet in Excel without Warning from Access VBA

Posted on 2011-04-26
3
Medium Priority
?
444 Views
Last Modified: 2012-05-11
I have a database that opens a workbook and then deletes a worksheet.  However, I get a warning regarding the delete.

The problem is I'm opening the worbook from access and not excel therefore application.displayalerts=false is not working.

Any ideas?

JOe K.
0
Comment
Question by:ClaudeWalker
  • 2
3 Comments
 

Accepted Solution

by:
ClaudeWalker earned 0 total points
ID: 35469344
nevermind.  I used excel.application.displayalerts and it worked.
0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 35469348
how are you deleting the sheet? post the codes
0
 

Author Closing Comment

by:ClaudeWalker
ID: 35499756
asdfasdfasf
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
MS Outlook undoubtedly is the most widely used email client.Its user-friendliness, cost effectiveness, and availability with Microsoft Office Suite make it the most popular email application.  Its compatibility with Microsoft applications like Exch…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

864 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