ecel高级应用

上传人:好** 文档编号:111841576 上传时间:2019-11-04 格式:DOCX 页数:14 大小:106.91KB
返回 下载 相关 举报
ecel高级应用_第1页
第1页 / 共14页
ecel高级应用_第2页
第2页 / 共14页
ecel高级应用_第3页
第3页 / 共14页
ecel高级应用_第4页
第4页 / 共14页
ecel高级应用_第5页
第5页 / 共14页
点击查看更多>>
资源描述

《ecel高级应用》由会员分享,可在线阅读,更多相关《ecel高级应用(14页珍藏版)》请在金锄头文库上搜索。

1、 Excel 高级应用 学 号 :120616124姓 名 : 孙 艳一,用宏录制器进行宏编码宏编码: Sub 跨列居中() 跨列居中 MacroRange(A1).Select With Selection.Font .Name = Tahoma .Size = 22 .Strikethrough = False .Superscript = False .Subscript = False .OutlineFont = False .Shadow = False .Underline = xlUnderlineStyleNone .ThemeColor = xlThemeColorLigh

2、t1 .TintAndShade = 0 .ThemeFont = xlThemeFontNone End With Range(A1).Select ActiveCell.FormulaR1C1 = 120616班级学员信息登记表 With ActiveCell.Characters(Start:=1, Length:=6).Font .Name = Tahoma .FontStyle = 常规 .Size = 22 .Strikethrough = False .Superscript = False .Subscript = False .OutlineFont = False .Sha

3、dow = False .Underline = xlUnderlineStyleNone .ThemeColor = xlThemeColorLight1 .TintAndShade = 0 .ThemeFont = xlThemeFontNone End With With ActiveCell.Characters(Start:=7, Length:=9).Font .Name = 宋体 .FontStyle = 常规 .Size = 22 .Strikethrough = False .Superscript = False .Subscript = False .OutlineFon

4、t = False .Shadow = False .Underline = xlUnderlineStyleNone .ThemeColor = xlThemeColorLight1 .TintAndShade = 0 .ThemeFont = xlThemeFontNone End With Range(A2).Select ActiveCell.FormulaR1C1 = 学号 With ActiveCell.Characters(Start:=1, Length:=2).Font .Name = 宋体 .FontStyle = 常规 .Size = 11 .Strikethrough

5、= False .Superscript = False .Subscript = False .OutlineFont = False .Shadow = False .Underline = xlUnderlineStyleNone .ThemeColor = xlThemeColorLight1 .TintAndShade = 0 .ThemeFont = xlThemeFontNone End With Range(B2).Select ActiveCell.FormulaR1C1 = 姓名 With ActiveCell.Characters(Start:=1, Length:=2)

6、.Font .Name = 宋体 .FontStyle = 常规 .Size = 11 .Strikethrough = False .Superscript = False .Subscript = False .OutlineFont = False .Shadow = False .Underline = xlUnderlineStyleNone .ThemeColor = xlThemeColorLight1 .TintAndShade = 0 .ThemeFont = xlThemeFontNone End With Range(C2).Select ActiveCell.Formu

7、laR1C1 = 性别 With ActiveCell.Characters(Start:=1, Length:=2).Font .Name = 宋体 .FontStyle = 常规 .Size = 11 .Strikethrough = False .Superscript = False .Subscript = False .OutlineFont = False .Shadow = False .Underline = xlUnderlineStyleNone .ThemeColor = xlThemeColorLight1 .TintAndShade = 0 .ThemeFont =

8、 xlThemeFontNone End With Range(D2).Select ActiveCell.FormulaR1C1 = 民族 With ActiveCell.Characters(Start:=1, Length:=2).Font .Name = 宋体 .FontStyle = 常规 .Size = 11 .Strikethrough = False .Superscript = False .Subscript = False .OutlineFont = False .Shadow = False .Underline = xlUnderlineStyleNone .The

9、meColor = xlThemeColorLight1 .TintAndShade = 0 .ThemeFont = xlThemeFontNone End With Range(E2).Select ActiveCell.FormulaR1C1 = 出生年月 With ActiveCell.Characters(Start:=1, Length:=4).Font .Name = 宋体 .FontStyle = 常规 .Size = 11 .Strikethrough = False .Superscript = False .Subscript = False .OutlineFont =

10、 False .Shadow = False .Underline = xlUnderlineStyleNone .ThemeColor = xlThemeColorLight1 .TintAndShade = 0 .ThemeFont = xlThemeFontNone End With Range(A3).Select ActiveCell.FormulaR1C1 = 101 Range(B3).Select ActiveCell.FormulaR1C1 = 孙艳 With ActiveCell.Characters(Start:=1, Length:=2).Font .Name = 宋体

11、 .FontStyle = 常规 .Size = 11 .Strikethrough = False .Superscript = False .Subscript = False .OutlineFont = False .Shadow = False .Underline = xlUnderlineStyleNone .ThemeColor = xlThemeColorLight1 .TintAndShade = 0 .ThemeFont = xlThemeFontNone End With Range(C3).Select ActiveCell.FormulaR1C1 = 女 With ActiveCell.Characters(Start:=1, Length:=1).Font .Name = 宋体 .FontStyle = 常规 .Size = 11 .Strikethrough = False .Superscript = False .Subscript = False .OutlineFont = False .Shadow = False .Underline = xlUnderlineStyleNone .ThemeColor = xlThemeColorLight1 .TintAndShade = 0 .ThemeFont = xlThemeFo

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 办公文档 > 事务文书

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号