Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Retrieving Default Chart Type?

I looked everywhere but couldn't find it, is there a way I can retriev
the default chart type in Excel through VBA?

I need to change it so I would like to set it back to what it wa
before after I've done it what I needed.

Best Regards

Noo

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Retrieving Default Chart Type?

Isn't there anyway to do it?

Best Regards

Noo

--
Message posted from http://www.ExcelForum.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 81
Default Retrieving Default Chart Type?

Hi NooK,

Create and select a temporary chart:

CType = ActiveChart.ChartType

If you are trying to change and restore the original
Default Chart be aware that the "ChartType" is only one of
a whole bunch of properties you might have changed.

Have you considered creating your own Custom User defined
Chart and applying that instead of the Default - would
avoid messing with the Default. Custom Types / User-
defined / Add.

Alternatively, store the Default chart as a User defined
Chart (as above, named say "Default_orig"), do your stuff,
and reset Default_orig as the Default chart.

Should be possible to record a macro for each of the
above, and adapt to your needs.

Regards,
Peter

-----Original Message-----
I looked everywhere but couldn't find it, is there a way

I can retrieve
the default chart type in Excel through VBA?

I need to change it so I would like to set it back to

what it was
before after I've done it what I needed.

Best Regards

NooK


---
Message posted from http://www.ExcelForum.com/

.

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
cannot apply the default chart type to the selected data sam Charts and Charting in Excel 1 October 12th 09 01:21 PM
Cant delete user defined default chart type jenalee Charts and Charting in Excel 7 August 21st 09 08:00 PM
Setting up a Custom type, User-defined, Default Chart Kurt Charts and Charting in Excel 0 December 22nd 05 07:43 PM
Pivot Chart - default chart type Rav99 Excel Discussion (Misc queries) 4 September 6th 05 01:20 AM
Pivot Chart: cannot apply the default chart type... doco Charts and Charting in Excel 1 January 17th 05 04:55 PM


All times are GMT +1. The time now is 10:01 AM.

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"