1
我认为我的疑问很简单。我试图从VBA Excel中创建一个告知货币价值的饼图。我只能让它们显示为原始数字(例如不包含$,R $)。饼图 - 显示货币值 - Excel VBA
这里是我的代码:
With grafico_usp
.Name = "Metrics USP - Quantidade"
.ChartType = xlPieExploded
.SetSourceData Source:=rng
.ClearToMatchStyle
.ChartStyle = 304
.HasTitle = True
.HasLegend = True
.Legend.Format.TextFrame2.TextRange.Font.Size = 13
.Legend.Height = 200
.Legend.Position = xlLegendPositionRight
.ChartTitle.Text = "Estatística Número de Cursos Ofertados - USP"
.ApplyDataLabels (xlDataLabelsShowValue)
End With
我的电池也为货币格式,但单位没有出现在饼图英寸 感谢您的时间!