网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 时尚美容

excel 表格如何实现十字光标

时间:2024-10-12 07:39:23

1、打开你的表格。【ALt+F11】,打开VBA编辑器。

excel 表格如何实现十字光标

3、Private Sub Worksheet_SelectionChange(ByVal Target As Range)Cells.Interior.ColorIndex = xlColorIndexNoneWith Target.EntireRow.Interior.Color = vbBlue.EntireColumn.Interior.Color = vbBlueEnd WithEnd Sub将以上代码复制到空白处,将这个文档关闭或者最小化,调出你的那个表格文档。

excel 表格如何实现十字光标
© 小知经验