会员
周边
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
鲜花速递
鲜花配送
成都画室
戴氏教育
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
下一页
2017年9月14日
VBA在WORD应用中如何将格式应用于选定内容
摘要: 下列示例使用 Selection 属性将字符和段落格式应用于选定文本。使用 Font 属性获得字体格式的属性和方法,使用 ParagraphFormat 属性获得段落格式的属性和方法。Sub FormatSelection() With Selection.Font .Name = "Times N
阅读全文
posted @ 2017-09-14 17:37 戴氏教育
阅读(824)
评论(0)
推荐(0)
编辑
VBA在WORD应用中如何确定文本是否被选定
摘要: 确定文本是否被选定Selection 对象的 Type 属性返回所选内容类型的信息。如果所选内容为插入点,则下列示例显示一条消息。Sub IsTextSelected() If Selection.Type = wdSelectionIP Then MsgBox "Nothing is select
阅读全文
posted @ 2017-09-14 17:35 戴氏教育
阅读(905)
评论(0)
推荐(0)
编辑
说说VBA中的面向对象
摘要: 对象是 Visual Basic 的结构基础,在 Visual Basic 中进行的所有操作几乎都与修改对象有关。Microsoft Word 的任何元素,如文档、表格、段落、书签、域等,都可用 Visual Basic 中的对象来表示。什么是对象和集合?对象代表一个 Word 元素,如文档、段落、
阅读全文
posted @ 2017-09-14 17:32 戴氏教育
阅读(1926)
评论(0)
推荐(0)
编辑
VBA消息框
摘要: MsgBox函数显示一个消息框,并等待用户点击一个按钮,然后根据用户点击该按钮的动作执行。 语法 参数说明 Prompt - 必需的参数。这显示在对话框中的消息的字符串。 prompt 最大长度大约是1024个字符。如果消息扩展到多行,那么可以单独使用回车符(CHR(13))或每行之间的换行符(CH
阅读全文
posted @ 2017-09-14 16:15 戴氏教育
阅读(454)
评论(0)
推荐(0)
编辑
2017年8月24日
C#手动改变自制窗体的大小
摘要: Form1.cs using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using Syst
阅读全文
posted @ 2017-08-24 16:45 戴氏教育
阅读(1978)
评论(0)
推荐(0)
编辑
C#实现焦点变色
摘要: Form1.csusing System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using Syste
阅读全文
posted @ 2017-08-24 16:42 戴氏教育
阅读(418)
评论(0)
推荐(0)
编辑
C#获取文件目录
摘要: Form1.csusing System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using Syste
阅读全文
posted @ 2017-08-24 15:43 戴氏教育
阅读(312)
评论(0)
推荐(0)
编辑
C#获取文件类型
摘要: Form1.csusing System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using Syste
阅读全文
posted @ 2017-08-24 15:41 戴氏教育
阅读(6279)
评论(0)
推荐(1)
编辑
窗体设计器生成的代码
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u
阅读全文
posted @ 2017-08-24 15:08 戴氏教育
阅读(390)
评论(0)
推荐(0)
编辑
仿XP系统的任务栏菜单
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u
阅读全文
posted @ 2017-08-24 15:04 戴氏教育
阅读(207)
评论(0)
推荐(0)
编辑
上一页
1
2
3
下一页
公告