cetee
¼‰(j¨ª)„e: ÂÔÓÐС³É
¾«ÈAÖ÷î}: 0
°l(f¨¡)Ìû”µ(sh¨´)Á¿: 73 ‚€(g¨¨)
¹¤¿ØÍþÍû: 218 üc(di¨£n)
ÏÂÝd·e·Ö: 10544 ·Ö
ÔÚ¾€•r(sh¨ª)ég: 580(С•r(sh¨ª))
×¢ƒÔ(c¨¨)•r(sh¨ª)ég: 2010-08-05
×îºóµÇä›: 2024-10-30
²é¿´ceteeµÄ Ö÷î} / »ØÙN
˜ÇÖ÷  °l(f¨¡)±íÓÚ: 2018-09-08 17:55
vb.net ÇóÖú£¬Õˆ(q¨«ng)´ó¼Ò?gu¨©)Íæ¡£ÖxÖx

Imports excel = Microsoft.Office.Interop.Excel

Imports System.IO
Public Class Form1
    Private Sub Button1_Click(sender As Object, e As EventArgs)

    End Sub
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load

    End Sub
    Private Sub Button1_Click_1(sender As Object, e As EventArgs) Handles Button1.Click
        Dim fileTest As String = "c:\Temp\ExcelTest\test.xlsx"
        If File.Exists(fileTest) Then
            File.Delete(fileTest)
        End If

        Dim oexcel As Object
        oexcel = CreateObject("excel.Application")
        Dim obook As excel.Workbook
        Dim osheet As excel.Worksheet

        obook = oexcel.Workbooks.Add
        osheet = oexcel.Worksheets(1)

        osheet.Name = "test name"
        osheet.Range("A").Value = "button 1"
        obook.SaveAs(fileTest)
        obook.Close()
        obook = Nothing
        oexcel.Quit()
        oexcel = Nothing
    End Sub
End Class


¸½¼þ£º ˆó(b¨¤o)åe(cu¨°)ÙYÁÏ.pdf (141 K) ÏÂÝd´Î”µ(sh¨´):16
¾W(w¨£ng)Õ¾Ìáʾ: Õˆ(q¨«ng)²»ÒªÓÃѸÀ×ÏÂÝd¸½¼þ£¬ÈÝÒ׳öåe(cu¨°)
cetee
¼‰(j¨ª)„e: ÂÔÓÐС³É
¾«ÈAÖ÷î}: 0
°l(f¨¡)Ìû”µ(sh¨´)Á¿: 73 ‚€(g¨¨)
¹¤¿ØÍþÍû: 218 üc(di¨£n)
ÏÂÝd·e·Ö: 10544 ·Ö
ÔÚ¾€•r(sh¨ª)ég: 580(С•r(sh¨ª))
×¢ƒÔ(c¨¨)•r(sh¨ª)ég: 2010-08-05
×îºóµÇä›: 2024-10-30
²é¿´ceteeµÄ Ö÷î} / »ØÙN
1˜Ç  °l(f¨¡)±íÓÚ: 2018-09-11 09:53
ÖxÖx.
cetee
¼‰(j¨ª)„e: ÂÔÓÐС³É
¾«ÈAÖ÷î}: 0
°l(f¨¡)Ìû”µ(sh¨´)Á¿: 73 ‚€(g¨¨)
¹¤¿ØÍþÍû: 218 üc(di¨£n)
ÏÂÝd·e·Ö: 10544 ·Ö
ÔÚ¾€•r(sh¨ª)ég: 580(С•r(sh¨ª))
×¢ƒÔ(c¨¨)•r(sh¨ª)ég: 2010-08-05
×îºóµÇä›: 2024-10-30
²é¿´ceteeµÄ Ö÷î} / »ØÙN
2˜Ç  °l(f¨¡)±íÓÚ: 2018-09-27 10:07
Ò»˜Ç˜ÇÖ÷ÄúºÃ£¬Ï£Íû˜ÇÖ÷ÄÜŽÍŽÍæ¡£
ÈçºÎ°ÑÎı¾¿òÖеĔµ(sh¨´)“þ(j¨´)±£´æµ½excel£¬²»Äܸ²Éw£¬¶øÊÇÄܱ£´æµ½ÏÂÒ»ÐУ¬²»Ó°í‘Ç°Ž×Ðб£´æµÄ”µ(sh¨´)“þ(j¨´)
ÖxÖx¡£