/// <summary> /// Reads the contents of an excel spreadsheet (.xlsx || .xls) /// or …
Sub ChartToPresentation() ' Uses Late Binding to the PowerPoint Object Model ' No referenc…
Sub ChangeSize_Selected(ByVal sender As Object, ByVal e As EventArgs) panel1.Width = paper…
'功能:把多个工作簿的第一个工作表合并到一个工作簿的多个工作表,新工作表的名称等于原工作簿的名称 Sub Books2Sheets() '定义对话框变量 Dim fd As Fil…
Sub SearchTheName(objFolder) If arrOptions(Folder_Name) = 1 Then For Each objSubFolder In …
Option Explicit Function IIF(judgement, a, b) If judgement Then IIF = a Else IIF = b End I…
Sub ToJson() '创建UTF8文本文件 myrange = Worksheets("sheet1").UsedRange '通过有效数据区来选择数据 'myrange =…
Option Explicit Function GeneratePassword(length) Dim p, s, i, l s = "abcdefghijklmnopqrst…
<% '---------------------------------------------- '{by}D.n.sky '{website}www.desetang.…
'all2vbs.vbs '****************************************************************************…
Dim strCopy2 Set objIE = CreateObject("InternetExplorer.Application") strCopy2=objIE.docum…
/// <summary> /// Downloads (pushes) file to the client browser. /// **** NOTE **** …
VBA在活动的Word文档光标处粘贴选中的Excel工作表范围