Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Dynamic charts with VBA & graphics?

Has anyone tried producing a dynamic graph in Excel, using VBA and
graphics (not those supplied by charts, but something more exotic like
opengl/directdraw)

It would be interesting to allow the use to set conditions in Excel,
click a macro button which then 'runs' a graphical model in a window.

That's more something normally reserved for other software, but who
knows, Excel is capable of producing a window with Win32 API code
(though it's clumsy). perhaps someone's ventured further.

I can imagine the best would be a control or dll that contains
everything required to manage the window and do the drawing, including
primitives etc, but which can be controlled via vba.

It may even be plausible to link vba up to some established library
liek SDL or Allegro (though i tend to doubt it). TinyPTC or G2 seem
like other possibilities, if a 'complete' DLL were available.

Of course I could use VBA to export the required values to an .exe
that does the modelling, but it would be quite neat to do the whole
think in just Excel (plus a dll!)

I guess it may be possible using chart objects and updating the values
within a looping macro, but that wouldn't be quite as smoothly
animated, and it would be limited to the graphical objects supplied,
no pixels etc.
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
Working with Smart Art Graphics, Sheets, and Charts meliscarm Excel Discussion (Misc queries) 0 September 26th 08 07:11 PM
Dynamic Charts [email protected] Excel Discussion (Misc queries) 1 September 20th 07 04:22 AM
Excel 2003 Using graphics in charts Trish Charts and Charting in Excel 1 September 27th 06 03:32 AM
Make dynamic charts more dynamic Milo Charts and Charting in Excel 1 April 12th 06 09:01 AM
How can I export charts as graphics sequentially? wibsy Charts and Charting in Excel 2 October 25th 05 11:51 AM


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