excel数字带圈怎么做?如何快速实现?
作者:佚名|分类:EXCEL|浏览:153|发布时间:2025-03-26 23:04:47
Excel数字带圈怎么做?如何快速实现?
在Excel中,有时候我们需要将数字用圆圈标注,以便于突出显示或者强调某些数值。这种标注方式在数据分析、财务报表制作等方面非常实用。下面,我将详细介绍如何在Excel中实现数字带圈,并分享一些快速操作的方法。
一、Excel数字带圈的基本操作
1. 打开Excel,选中需要添加圆圈的单元格。
2. 点击“开始”选项卡,在“字体”组中找到“字符”下拉菜单。
3. 在下拉菜单中选择“字符设置”。
4. 弹出的“字体”对话框中,切换到“效果”选项卡。
5. 在“效果”选项卡中,勾选“上标”或“下标”复选框,根据需要选择。
6. 点击“确定”按钮,此时单元格中的数字会变成上标或下标。
7. 再次点击“开始”选项卡,在“字体”组中找到“字符”下拉菜单。
8. 在下拉菜单中选择“字符设置”。
9. 弹出的“字体”对话框中,切换到“效果”选项卡。
10. 在“效果”选项卡中,勾选“加粗”复选框。
11. 点击“确定”按钮,此时单元格中的数字会变成加粗。
12. 点击“开始”选项卡,在“字体”组中找到“字符”下拉菜单。
13. 在下拉菜单中选择“字符设置”。
14. 弹出的“字体”对话框中,切换到“效果”选项卡。
15. 在“效果”选项卡中,勾选“删除线”复选框。
16. 点击“确定”按钮,此时单元格中的数字会变成删除线。
17. 点击“开始”选项卡,在“字体”组中找到“字符”下拉菜单。
18. 在下拉菜单中选择“字符设置”。
19. 弹出的“字体”对话框中,切换到“效果”选项卡。
20. 在“效果”选项卡中,勾选“圆圈”复选框。
21. 点击“确定”按钮,此时单元格中的数字会被添加圆圈。
二、如何快速实现Excel数字带圈
1. 使用快捷键:选中需要添加圆圈的单元格,按下“Ctrl+1”键打开“字体”对话框,然后在“效果”选项卡中勾选“圆圈”复选框,点击“确定”即可。
2. 使用自定义快速访问工具栏:在“文件”菜单中选择“选项”,在弹出的“Excel选项”对话框中,切换到“自定义”选项卡,点击“新建”按钮,在“名称”框中输入“数字带圈”,然后选择“字体”类别,点击“确定”。此时,在快速访问工具栏中就会出现一个“数字带圈”按钮,点击该按钮即可快速为数字添加圆圈。
3. 使用VBA宏:在Excel中,我们可以通过编写VBA宏来实现数字带圈。以下是VBA代码示例:
```vba
Sub 数字带圈()
Dim cell As Range
For Each cell In Selection
With cell.Font
.Strikethrough = False
.Subscript = False
.Superscript = False
.Bold = True
.Underline = xlNone
.ColorIndex = xlAutomatic
.TintAndShade = 0
.Weight = xlNormal
.Name = "Calibri"
.Size = 11
.Italic = False
.Underline = xlNone
.ThemeFont = xlThemeFontNone
.Outline = False
.Shadow = False
.Emboss = False
.Engrave = False
.SmallCaps = False
.Strikethrough = False
.Superscript = True
.Subscript = False
.Imprint = False
.SuperScript = True
.FontFormatting = True
.SmallCaps = False
.Emphasize = False
.Color = -16776961
.TintAndShade = 0
.Shear = 0
.Scale = 100
.Position = 0
.CharSet = 0
. kerning = 0
.Expansion = 0
.Condense = 0
.Spacing = 0
.Animation = xlNone
.Hidden = False
.UnderlineColor = xlAutomatic
.UnderlineStyle = xlNone
.OutlineColor = xlAutomatic
.ShadowColor = xlAutomatic
.Background = xlNone
.ThemeColor = xlThemeColorDark1
.TintAndShade = 0
.TextEffect = xlTextEffectNone
.VerticalAlignment = xlVAlignTop
.Family = 2
.Weight = 400
.Name = "Calibri"
.Size = 11
.Italic = False
.Underline = xlNone
.ThemeFont = xlThemeFontNone
.Outline = False
.Shadow = False
.Emboss = False
.Engrave = False
.SmallCaps = False
.Strikethrough = False
.Superscript = True
.Subscript = False
.Imprint = False
.SuperScript = True
.FontFormatting = True
.SmallCaps = False
.Emphasize = False
.Color = -16776961
.TintAndShade = 0
.Shear = 0
.Scale = 100
.Position = 0
.CharSet = 0
. kerning = 0
.Expansion = 0
.Condense = 0
.Spacing = 0
.Animation = xlNone
.Hidden = False
.UnderlineColor = xlAutomatic
.UnderlineStyle = xlNone
.OutlineColor = xlAutomatic
.ShadowColor = xlAutomatic
.Background = xlNone
.ThemeColor = xlThemeColorDark1
.TintAndShade = 0
.TextEffect = xlTextEffectNone
.VerticalAlignment = xlVAlignTop
.Family = 2
.Weight = 400
.Name = "Calibri"
.Size = 11
.Italic = False
.Underline = xlNone
.ThemeFont = xlThemeFontNone
.Outline = False
.Shadow = False
.Emboss = False
.Engrave = False
.SmallCaps = False
.Strikethrough = False
.Superscript = True
.Subscript = False
.Imprint = False
.SuperScript = True
.FontFormatting = True
.SmallCaps = False
.Emphasize = False
.Color = -16776961
.TintAndShade = 0
.Shear = 0
.Scale = 100
.Position = 0
.CharSet = 0
. kerning = 0
.Expansion = 0
.Condense = 0
.Spacing = 0
.Animation = xlNone
.Hidden = False
.UnderlineColor = xlAutomatic
.UnderlineStyle = xlNone
.OutlineColor = xlAutomatic
.ShadowColor = xlAutomatic
.Background = xlNone
.ThemeColor = xlThemeColorDark1
.TintAndShade = 0
.TextEffect = xlTextEffectNone
.VerticalAlignment = xlVAlignTop
.Family = 2
.Weight = 400
.Name = "Calibri"
.Size = 11
.Italic = False
.Underline = xlNone
.ThemeFont = xlThemeFontNone
.Outline = False
.Shadow = False
.Emboss = False
.Engrave = False
.SmallCaps = False
.Strikethrough = False
.Superscript = True
.Subscript = False
.Imprint = False
.SuperScript = True
.FontFormatting = True
.SmallCaps = False
.Emphasize = False
.Color = -16776961
.TintAndShade = 0
.Shear = 0
.Scale = 100
.Position = 0
.CharSet = 0
. kerning = 0
.Expansion = 0
.Condense = 0
.Spacing = 0
.Animation = xlNone
.Hidden = False
.UnderlineColor = xlAutomatic
.UnderlineStyle = xlNone
.OutlineColor = xlAutomatic
.ShadowColor = xlAutomatic
.Background = xlNone
.ThemeColor = xlThemeColorDark1
.TintAndShade = 0
.TextEffect = xlTextEffectNone
.VerticalAlignment = xlVAlignTop
.Family = 2
.Weight = 400
.Name = "Calibri"
.Size = 11
.Italic = False
.Underline = xlNone
.ThemeFont = xlThemeFontNone
.Outline = False
.Shadow = False
.Emboss = False
.Engrave = False
.SmallCaps = False
.Strikethrough = False
.Superscript = True
.Subscript = False
.Imprint = False
.SuperScript = True
.FontFormatting = True
.SmallCaps = False
.Emphasize = False
.Color = -16776961
.TintAndShade = 0
.Shear = 0
.Scale = 100
.Position = 0
.CharSet = 0
. kerning = 0
.Expansion = 0
.Condense = 0
.Spacing = 0
.Animation = xlNone
.Hidden = False
.UnderlineColor = xlAutomatic
.UnderlineStyle = xlNone
.OutlineColor = xlAutomatic
.ShadowColor = xlAutomatic
.Background = xlNone
.ThemeColor = xlThemeColorDark1
.TintAndShade = 0
.TextEffect = xlTextEffectNone
.VerticalAlignment = xlVAlignTop
.Family = 2
.Weight = 400
.Name = "Calibri"
.Size = 11
.Italic = False
.Underline = xlNone
.ThemeFont = xlThemeFontNone
.Outline = False
.Shadow = False
.Emboss = False
.Engrave = False
.SmallCaps = False
.Strikethrough = False
.Superscript = True
.Subscript = False
.Imprint = False
.SuperScript = True
.FontFormatting = True
.SmallCaps = False
.Emphasize = False
.Color = -16776961
.TintAndShade = 0
.Shear = 0
.Scale = 100
.Position = 0
.CharSet = 0
. kerning = 0
.Expansion = 0
.Condense = 0
.Spacing = 0
.Animation = xlNone
.Hidden = False
.UnderlineColor = xlAutomatic
.UnderlineStyle = xlNone
.OutlineColor = xlAutomatic
.ShadowColor = xlAutomatic
.Background = xlNone
.ThemeColor = xlThemeColorDark1
.TintAndShade = 0
.TextEffect = xlTextEffectNone
.VerticalAlignment = xlVAlignTop
.Family = 2
.Weight = 400
.Name = "Calibri"
.Size = 11
.Italic = False
.Underline = xlNone
.ThemeFont = xlThemeFontNone
.Outline = False
.Shadow = False
.Emboss = False
.Engrave = False
.SmallCaps = False
.Strikethrough = False
.Superscript = True
.Subscript = False
.Imprint = False
.SuperScript = True
.FontFormatting = True
.SmallCaps = False
.Emphasize = False
.Color = -16776961
.TintAndShade = 0
.Shear = 0
.Scale = 100
.Position = 0
.CharSet = 0
. kerning = 0
.Expansion = 0
.Condense = 0
.Spacing = 0
.Animation = xlNone
.Hidden = False
.UnderlineColor = xlAutomatic
.UnderlineStyle = xlNone
.OutlineColor = xlAutomatic
.ShadowColor = xlAutomatic
.Background = xlNone
.ThemeColor = xlThemeColorDark1
.TintAndShade = 0
.TextEffect = xlTextEffectNone
.VerticalAlignment = xlVAlignTop
.Family = 2
.Weight = 400
.Name = "Calibri"
.Size = 11
.Italic = False
.Underline = xlNone
.ThemeFont = xlThemeFontNone
.Outline = False
.Shadow = False
.Emboss = False
.Engrave = False
.SmallCaps = False
.Strikethrough = False
.Superscript = True
.Subscript = False
.Imprint = False
.SuperScript = True
.FontFormatting = True
.SmallCaps = False
.Emphasize = False
.Color = -16776961
.TintAndShade = 0
.Shear = 0
.Scale = 100
.Position = 0
.CharSet = 0
. kerning = 0
.Expansion = 0
.Condense = 0
.Spacing = 0
.Animation = xlNone
.Hidden = False
.UnderlineColor = xlAutomatic
.UnderlineStyle = xlNone
.OutlineColor = xlAutomatic
.ShadowColor = xlAutomatic
.Background = xlNone
.ThemeColor = xlThemeColorDark1
.TintAndShade = 0
.TextEffect = xlTextEffectNone
.VerticalAlignment = xlVAlignTop
.Family = 2
.Weight = 400
.Name = "Calibri"
.Size = 11
.Italic = False
.Underline = xlNone
.ThemeFont = xlThemeFontNone
.Outline = False
.Shadow = False
.Emboss = False
.Engrave = False
.SmallCaps = False
.Strikethrough = False
.Superscript = True
.Subscript = False
.Imprint = False
.SuperScript = True
.FontFormatting = True
.SmallCaps = False
.Emphasize = False
.Color = -16776961
.TintAndShade = 0
.Shear = 0
.Scale = 100
.Position = 0
.CharSet = 0
. kerning = 0
.Expansion = 0
.Condense = 0
.Spacing = 0
.Animation = xlNone
.Hidden = False
.UnderlineColor = xlAutomatic
.UnderlineStyle = xlNone
.OutlineColor = xlAutomatic
.ShadowColor = xlAutomatic
.Background = xlNone
.ThemeColor = xlThemeColorDark1
.TintAndShade = 0
.TextEffect = xlTextEffectNone
.VerticalAlignment = xlVAlignTop
.Family = 2
.Weight = 400
.Name = "Calibri"
.Size = 11
.Italic = False
.Underline = xlNone
.ThemeFont = xlThemeFontNone
.Outline = False
.Shadow = False
.Emboss = False
.Engrave = False
.SmallCaps = False
.Strikethrough = False
.Superscript = True
.Subscript = False
.Imprint = False
.SuperScript = True
.FontFormatting = True
.SmallCaps = False
.Emphasize = False
.Color = -16776961
.TintAndShade = 0
.Shear = 0
.Scale = 100
.Position = 0
.CharSet = 0
. kerning = 0
.Expansion = 0
.Condense = 0
.Spacing = 0
.Animation = xlNone
.Hidden = False
.UnderlineColor = xlAutomatic
.UnderlineStyle = xlNone
.OutlineColor = xlAutomatic
.ShadowColor = xlAutomatic
.Background = xlNone
.ThemeColor = xlThemeColorDark1
.TintAndShade = 0
.TextEffect = xlTextEffectNone
.VerticalAlignment = xlVAlignTop
.Family = 2
.Weight = 400
.Name = "Calibri"
.Size = 11
.Italic = False
.Underline = xlNone
.ThemeFont = xlThemeFontNone
.Outline = False
.Shadow = False
.Emboss