One of our customers gets the error "1004 Cannot apply the default chart type to the selected data" when the program attempts to add a chart to Excel using the code below.

VB Code:
  1. objExcel.Charts.Add


Does anyone know what I can try to fix this error?

Thanks.