Re: How do I draw a floating cluster Gantt Chart with VBA.



You don't need VBA, just charts:

http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=343
(temporarily down, but should be up by next week)
http://peltiertech.com/Excel/Charts/GanttChart.html

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______


"u473" <u473@xxxxxxx> wrote in message
news:1177593658.306606.40930@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
In this case, I want to use VBA only. No Scheduling tools.

My field of application is Construction where you repeatedly compare
Schedule of Estimated Data, Actual Data and Final Forecast.

The following data would drive a floating cluster of 3 bars,
Estimated, Actual and Forecast Finish from the current Report Date.

Activity# | Estimated Start | Estimated Finish | Actual Start
| Actual Finish | Forecast Finish | % Complete

Dim's .....
Set Series = .......
Set ReportDate = ....
For I = 1 to Ser.Points.Count
Draw Estimated bar from Estimated Start to Estimated Finish [Blue
1/4" or 6mmThick]
If Point# is 100% Complete
Draw Actual Bar from Actual Start to Actual Finish [Red
3/16" or 5mm Thick]
Else
Draw Actual Bar from Actual Start to Current Reporting
Date [Red 3/16" or 5mm Thick]
Draw Final Forecast Bar from Current Reporting Date to
Final Forecast [Yellow 3/16" or 5mm Thick]
End If
Next I
Draw Reporting Date Vertical marker


Thank you for your help or clues on these floating clusters

Have a good day,

J.P.



.



Relevant Pages

  • How do I draw a floating cluster Gantt Chart with VBA.
    ... No Scheduling tools. ... Draw Estimated bar from Estimated Start to Estimated Finish [Blue ... Draw Actual Bar from Actual Start to Current Reporting ...
    (microsoft.public.excel.programming)
  • How do I draw a floating cluster Gantt Chart with VBA.
    ... No Scheduling tools. ... Draw Estimated bar from Estimated Start to Estimated Finish [Blue ... Draw Actual Bar from Actual Start to Current Reporting ...
    (microsoft.public.excel.charting)
  • Re: urgently:How to use the control MSChart?
    ... I'm sorry, no, I don't really know anything about the chart control; ... Plus it's easy to draw horizontal lines. ... Here's some code that can draw a bar. ... When you display a data series in stacked bar format, ...
    (microsoft.public.vc.mfc)
  • Re: Something is terribly wrong here
    ... I can't draw a correlation between being against the political ... policies and reporting war atrocities. ... The later is a war crime ...
    (rec.motorcycles)
  • Re: how to change the color of the bar of MainMenu?
    ... He asked for the bar of the mainmenu, that's the top level one and not the ... You can indeed draw the menuitems with a different background but ... an owner-drawn menu then you can draw a new background yourself. ...
    (microsoft.public.dotnet.framework.windowsforms.controls)