ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  PB Chartdirector with VBA
Posted by TAPIE Pierre on Mar-07-2011 20:16
Attachments:
why this program works with VB6 SP6 and not working with EXCEL VBA and also PCVUE VBA?
Is there a problem or refresh the ActiveX compatibility with VBA?

THANk You
Prog.7z
Prog.7z

11.83 Kb

  Re: PB Chartdirector with VBA
Posted by Peter Kwan on Mar-08-2011 00:46
Hi TAPIE,

I have just tried your Excel spreadsheet. It works normally in my computer.

In your code, a chart is created when the user clicks on the Form. I run your Excel code and click on the form, and a chart is created immediately.

Would you mind to try once more? Make sure you are clicking on the Form, and not on the ChartViewer. It is because your code only handles the click event of the Form. Because the ChartViewer covers almost the entire form, therefore, you must click on the top or left edge of the form. I suggest you click on the top left corner of the form, to make sure you are really clicking on the form (and not on the transparent ChartViewer).

Alternatively, you may put a push button on the form, and clicks on the push button to create the chart. In this way, it is easier to know where to click.

Hope this can help.

Regards
Peter Kwan