¿Quién sabe cómo usar VB para dibujar puntos?

1. Al agregar el control de comunicación, puede usar las propiedades de Entrada/Salida para leer datos.

2. Abra Excel con VB, como

Dim appExcel As Object

Dim wbkName As Object

Dim shtName As Object

p>

Dim strSavePath As String

'Crear el archivo Excel

10 Set appExcel = CreateObjec("Excel.Application")

20 Establecer wbkName = appExcel.workbooks.Add

30 Establecer shtName = wbkName.worksheets(1)

40 wbkName.worksheets(1).Name = "Hoja1"

50 appExcel.Range("A1").Value = "Canal"

60 strSavePath = App.Path & "\Test.xls"

70 wbkName.SaveAs strSavePath

80 appExcel.quit

3, puede usar una instrucción de línea o un control MSChar, MSchar.ChartData = dblData1_2' matriz bidimensional, tenga en cuenta que las coordenadas son (y, x) .