摘要:
代碼大概如下: Set Rs = Conn.Execute("select * from V_O96GZDC") sTemp = Rs.GetString Clipboard.Clear Clipboard.SetText sTemp xlWrk.Sheets(2).Range("A3", "Z" & (lCount + 1)).Insert ... 阅读全文
摘要:
用朋友教的新方法導到EXCEL,一直出錯,出錯提示“Invalid procedure call or argument”。查了近1個小時,才想到RS的光標位置默認是服務端,應改為服務端代碼發下:Dim xlApp As Excel.ApplicationDim xlWrk As Excel.WorkbookDim xlSht As Excel.Workshee... 阅读全文