excel2007如何移动整列
时间:2023-03-05 19:57:08
在使用excel2007工作时需要将某个单元格左移右移,该如何操作呢?虽然有些方法可以实现,但是都不如宏来的实际快速。下面让小编为你带来excel2007移动整列的方法。
excel2007 移动整列设置步骤:
①单击菜单栏–视图–宏–查看宏。
②弹出宏的界面,输入宏的名称,这里为了便于记忆,我们命名为向左移动一列,然后点击创建按钮。
③在新出现的界面中,输入代码,也就是程序语言,我已经写好了,大家直接复制即可。
Application.ScreenUpdating = False
x = Selection.Column
If x >= 1 Then
Columns(x).Cut
Columns(x – 1).Insert
Application.ScreenUpdating = True
End If
④退出编辑状态,选中单元格或者整列,执行宏即可。下面,我把向右移动一列的代码也给大家。
Application.ScreenUpdating = False
x = Selection.Column
If x < 256 Then
Columns(x).Cut
Columns(x + 2).Insert
End If
Application.ScreenUpdating = True
End Sub
关于excel2007 移动整列的相关文章推荐:
1.excel2007移动整列数据的的方法
2.Excel2007怎么让整列左移右移
3.excel表格移动整列数据的方法
标签:单元格,即可,方法,界面,Excel教程
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Word 2007表格倒着建
2023-12-08 16:30:42
word怎么按颜色批量替换文字并标记?
2023-04-27 09:46:12
![](https://img.aspxhome.com/file/2023/3/30753_0s.jpg)
在Word2010文档中设置和显示隐藏文字的图文方法教程
2022-11-27 06:55:09
![](https://img.aspxhome.com/file/2023/5/29985_0s.jpg)
如何让excel文件只能查看不能被修改?
2022-09-09 23:24:10
![](https://img.aspxhome.com/file/2023/2/37812_0s.jpg)
调整数据 (Power Query)
2022-03-11 00:28:19
![](https://img.aspxhome.com/file/2023/0/a143720_0s.png)
Excel中的网格线怎么取消?
2023-10-29 14:58:39
![](https://img.aspxhome.com/file/2023/6/42666_0s.jpg)
Word2013如何清除从网上粘贴文字时自带的格式
2023-10-04 00:26:12
![](https://img.aspxhome.com/file/2023/8/29218_0s.png)
按Shift键 把Excel单元格区域转换为图片
2022-07-08 14:59:42
win10系统C盘空间过大怎么分区?使用分区助手优化C盘空间的教程
2023-10-15 17:20:12
![](https://img.aspxhome.com/file/2023/0/47010_0s.png)
Excel2010中日期与时间设置教程
2023-07-11 03:38:42
![](https://img.aspxhome.com/file/2023/6/a143616_0s.jpg)
iOS 13 闹钟铃声如何设置?忽大忽小是什么原因?
2023-11-29 03:37:43
![](https://img.aspxhome.com/file/2023/5/a194705_0s.png)
word怎么设置段落字体上下间距
2023-03-19 23:51:16
excel中怎么实现一个数值与另一列所有数值相乘
2023-06-21 09:54:08
![](https://img.aspxhome.com/file/2023/9/36629_0s.png)
excel表格如何添加边框线内边框虚线
2023-07-04 04:53:19
![](https://img.aspxhome.com/file/2023/7/35997_0s.png)
找回Word"选择格式相似的文本"命令
2023-01-02 02:51:03
![](https://img.aspxhome.com/file/2023/0/21590_0s.jpg)
Word遇到问题需要关闭解决方法
2023-03-30 22:36:55
![](https://img.aspxhome.com/file/2023/6/22036_0s.jpg)
word文字如何设置目录自动生成对应的页码
2022-12-31 17:55:51
快乐码字怎么拼字? 快乐码字拼字功能的使用教程
2023-06-12 11:08:55
![](https://img.aspxhome.com/file/2023/3/15103_0s.jpg)
如何制作wps横格
2023-11-29 16:57:06
iOS 14 中的相机和相册有哪些新改进?
2023-11-30 05:22:47
![](https://img.aspxhome.com/file/2023/4/a194654_0s.png)