#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default New Chart

Hi Group,

I try to use macro to create a chart on a new sheet (Daily). I have to
manually delete the chart each time I run the program. If I include the line
Sheets("Daily").Delete
in the program, I will get the prompt each time. Are there any better way to
do this?

Thanks.

Gian
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 339
Default New Chart


"Gian" wrote in message
...
Hi Group,

I try to use macro to create a chart on a new sheet (Daily). I have to
manually delete the chart each time I run the program. If I include the

line
Sheets("Daily").Delete
in the program, I will get the prompt each time. Are there any better way

to
do this?

Thanks.

Gian


Well, you can try this:
Application.DisplayAlerts = False
....
Application.DisplayAlerts = True

/Fredrik


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default New Chart

Thanks Fredrik.

"Fredrik Wahlgren" wrote:


"Gian" wrote in message
...
Hi Group,

I try to use macro to create a chart on a new sheet (Daily). I have to
manually delete the chart each time I run the program. If I include the

line
Sheets("Daily").Delete
in the program, I will get the prompt each time. Are there any better way

to
do this?

Thanks.

Gian


Well, you can try this:
Application.DisplayAlerts = False
....
Application.DisplayAlerts = True

/Fredrik



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
copy chart formatting and chart templates in Excel 2007 Astelix Charts and Charting in Excel 4 March 4th 10 04:10 AM
Excel 2003 is missing Built-In Custom Chart Types in Chart Wizard Julius Charts and Charting in Excel 2 March 6th 09 04:43 PM
Excel 2003 is missing Built-In Custom Chart Types in Chart Wizard Julius Setting up and Configuration of Excel 1 March 6th 09 01:57 AM
Creating a chart(? pie chart) that shows customers,dates and machi Mark M Charts and Charting in Excel 1 August 20th 08 10:19 PM
vc++ automation: opening chart as chart window and setting scale Mike Biolsi Excel Programming 0 February 7th 04 08:13 AM


All times are GMT +1. The time now is 01:35 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"