Home > Software engineering >  How to translate excel VBA macro code into vc code
How to translate excel VBA macro code into vc code

Time:03-11

I already import excel. Exe inside a lot. H file, but did not say these classes and functions are the MSDN and VB, look not to understand ah

This is excel record macro vba code
 
Chart ActiveSheet. ChartObjects (" 1 "). Activate
ActiveChart. FullSeriesCollection (2). AxisGroup=2

Chart ActiveSheet. ChartObjects (" 1 "). Activate
ActiveChart. FullSeriesCollection (1). ChartType=xlColumnClustered

ActiveChart. SetElement (msoElementDataLabelShow)

Code sets "of" the cumulative percentage of time axis
Set the "frequency" to bar charts
The chart to add display data tag
Action is the figure

Into the figure


Could you tell me how to write my vc + + code

CodePudding user response:

Try to use the import way of code and VBA is very close to
c + + EXCEL Sample

  • Related