I'm trying to create a chart in VBA in an excel sheet. When I manually create it, it creates it just find, but for some reason, when I try to automate its creation, it doesn't include both values in the Datalabels, here is the code I use:
Code:
' (NumBottles is passed in)
Dim wb As Excel.Workbook
Dim posSheet As Worksheet
Dim NodeNum As Integer
Dim ChartTitle As String
Leave a comment: