码迷,mamicode.com
首页 >  
搜索关键字:vsto vba    ( 1264个结果
如何使用VSTO自动将Excel中的图表复制到Word
如何使用VSTO自动将Excel中的图表复制到Word 原文地址:https://code.msdn.microsoft.com/How-to-copy-Chart-in-Excel-a29f9029 该项目说明如何使用VSTO自动复制Excel中的图表 介绍 有些客户经常在MSDN论坛上提出这个问 ...
分类:其他好文   时间:2017-09-07 20:21:58    阅读次数:241
20170906xlVBA_RecursionGetFiles
Dim Dic As Object Sub GetFileName() Dim FolderPath As String Set Dic = CreateObject("Scripting.Dictionary") FolderPath = ThisWorkbook.Path & Applicati... ...
分类:编程语言   时间:2017-09-06 21:24:30    阅读次数:160
20170906xlVBA_CopyDataAndFormatFromSheets
Public Sub GatherDataInSameWorkbook() AppSettings ' On Error GoTo ErrHandler Dim StartTime, UsedTime As Variant StartTime = VBA.Timer '>>>>>>>>>>>>>>>... ...
分类:编程语言   时间:2017-09-06 21:23:03    阅读次数:240
getmail
Public Sub GetDataFromWord() AppSettings 'On Error GoTo ErrHandler Dim StartTime, UsedTime As Variant StartTime = VBA.Timer 'Input code here Dim Wb As... ...
分类:其他好文   时间:2017-09-06 14:28:22    阅读次数:216
VBA中Let与Set的区别
Let与Set的区别 1、在“类模块”中 Property Let 语句 在Class块中,是给普通变量进行赋值操作的Property,该种Property将不能在其前面使用Set,因而将不能用户对对象变量的赋值。 Property Set 语句 在Class块中,是给对象变量进行设置引用操作的Pr ...
分类:编程语言   时间:2017-09-06 10:07:38    阅读次数:367
VBA学习笔记之单元格格式实例
效果图: ...
分类:编程语言   时间:2017-09-05 23:13:01    阅读次数:206
VBA Code for Word Navigation Pane 【failed】 view-showheading-method-word
https://msdn.microsoft.com/VBA/Word-VBA/articles/view-showheading-method-word View.ShowHeading Method (Word) office 365 dev account|Last Updated: 6/12 ...
分类:编程语言   时间:2017-09-05 01:40:15    阅读次数:210
[VBA]定向提取符合条件的内容
要求:若A列满足值为c,则将b列对应的内容背景色调为红色,并提取出来: 代码如下: Sub naqu()Dim i As IntegerFor i = 2 To Range("a65536").End(xlUp).Row If Cells(i, 1) = "c" Then n = n + 1 Cel ...
分类:编程语言   时间:2017-09-05 00:30:49    阅读次数:214
一个可以使用多个正则表达式进行多次尝试匹配,并进行替换的Excel VBA自定义函数(UFD)
以下代码可使用多个正则表达式对目标单元格进行多次匹配尝试,如匹配成功,将停止尝试匹配其他正则表达式,并且使用该正则表达式相对应的替换表达式进行替换,返回替换结果。 使用前需要做Early Binding。即在VBE编辑器中,选择菜单栏中的Tool — Reference,如图: 弹出如下图的对话框后 ...
分类:编程语言   时间:2017-09-01 23:02:00    阅读次数:562
excel中vba将excel中数字和图表输出到word中
参考:https://wenku.baidu.com/view/6c60420ecc175527072208af.html 比如将选区变为图片保存到桌面: 1 Sub 将选区转为图片存到桌面() 2 Dim ans As Byte, Pic As String, Paths As String 3 ...
分类:编程语言   时间:2017-08-30 17:36:47    阅读次数:247
1264条   上一页 1 ... 50 51 52 53 54 ... 127 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!