Home > Software engineering > VBA, enter a stock code, will the stock yield HuaShe chart available within the month
VBA, enter a stock code, will the stock yield HuaShe chart available within the month
Time:09-25
As title, might use VBA what function? Best can give example, thank you! Now I will not use the array HuaShe chart
CodePudding user response:
Your data is available (sheet form already exists), or to grasp now? If it is ready, with the chart, you can record a Duan Hong, then what all have
CodePudding user response:
Data is ready, can you say specific point? Obviously cannot record macro way,
CodePudding user response:
Since the data is ready, why can't record macro?
Sub Macro1 () ' 'Macro1 Macro 'macro recording by MicroSoft, time: 2016/5/19 '
' Range (" C2: C16). Select "' this is a data column Charts. The Add '"' Add chart ActiveChart. ChartType=xlLineMarkers' "' choose line chart ActiveChart. SetSourceData Source:=Sheets (" Sheet1 "). The Range (" C2: C16) ActiveChart. The Location Where:=xlLocationAsObject, Name:="Sheet1" End Sub