A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Powerpoint, Publisher and Visio » Powerpoint
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How to enumerate Custom Chart Types in VB?



 
 
Thread Tools Display Modes
  #1  
Old March 2nd, 2007, 12:18 PM posted to microsoft.public.powerpoint
leonardo616
external usenet poster
 
Posts: 4
Default How to enumerate Custom Chart Types in VB?

I am writing an application to export data to Graphs in PowerPoint.

As part of this I need to produce a drop-down list of the user's custom
chart types.

The are the types that are stored in the file GRUSRGAL.GRA

Does anyone know how to find and list the Graph custom chart types using VB
code?

I tried a google search on various terms but could not find anything that
showed me how to list them.
(Plenty of pages showing me how to add them or apply them - but not to find
out what they were.)


Any help greatly appreciated.



  #2  
Old March 3rd, 2007, 09:49 PM posted to microsoft.public.powerpoint
Steve Rindsberg
external usenet poster
 
Posts: 9,366
Default How to enumerate Custom Chart Types in VB?

In article , Leonardo616 wrote:
I am writing an application to export data to Graphs in PowerPoint.

As part of this I need to produce a drop-down list of the user's custom
chart types.

The are the types that are stored in the file GRUSRGAL.GRA

Does anyone know how to find and list the Graph custom chart types using VB
code?

I tried a google search on various terms but could not find anything that
showed me how to list them.
(Plenty of pages showing me how to add them or apply them - but not to find
out what they were.)


Finally had some time to poke at this and you're right, it's not an easy thing
to find (bad enough trying to find out how to APPLY a custom chart type from
the help files).

Since MSGraph is quite similar to Excel's charting, I'd ask this same question
in one of the Excel programming groups.

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================


  #3  
Old March 6th, 2007, 12:00 PM posted to microsoft.public.powerpoint
leonardo616
external usenet poster
 
Posts: 4
Default How to enumerate Custom Chart Types in VB?

Thanks Steve - at least I know it is not simple!

Steve Rindsberg wrote in
:

In article , Leonardo616 wrote:
I am writing an application to export data to Graphs in PowerPoint.

As part of this I need to produce a drop-down list of the user's
custom chart types.

The are the types that are stored in the file GRUSRGAL.GRA

.............

Finally had some time to poke at this and you're right, it's not an
easy thing to find (bad enough trying to find out how to APPLY a
custom chart type from the help files).

Since MSGraph is quite similar to Excel's charting, I'd ask this same
question in one of the Excel programming groups.

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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