Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 238
Default Test if a user defined chart name is valid

I am changing chart type by macro. Is there a way to test if a user
defined chart name is valid? Excel 2000 & 2007
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Test if a user defined chart name is valid

On Oct 25, 4:24*pm, Fan924 wrote:
I am changing chart type by macro. Is there a way to test if a user
defined chart name is valid? * *Excel 2000 & 2007


you can use something like this:

For n = 1 To 20
On Error GoTo 987687
Chartnames(n) = ActiveSheet.ChartObjects(n).Name
987687
Next n

does this help ?
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 238
Default Test if a user defined chart name is valid

I should have said template name like in excel 2007
In Windows 98 excel 2000, they are stored here.
"c:\Program Files\Microsoft Office\Office\XLUSRGAL.XLS"

I am looking for a validity test before applying user defined charts
to an existing chart by macro.
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Test if a user defined chart name is valid

Please indicate step by step what you would like top do, because this
is not making too much sense.

sorry
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
can use a user-defined function in chart value source? Gw Charts and Charting in Excel 4 December 19th 06 12:51 PM
User defined chart Freddie Mac Excel Programming 1 July 5th 06 11:35 PM
are user-defined chart settings transferrable? Ed Ireland Setting up and Configuration of Excel 0 February 15th 06 07:26 PM
user-defined chart template location simon Charts and Charting in Excel 1 August 12th 05 04:25 PM
path user defined chart jacob[_5_] Excel Programming 1 October 26th 03 01:15 AM


All times are GMT +1. The time now is 04:38 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"