excel vba 列_Excel VBA:将列标题切换为数字

excel vba 列

It's Friday, and your brain is almost full, but let's try to cram a little bit of Excel VBA in there before the weekend. We've talked about the Excel Column Headings before, and seen how to change the Reference Style setting from R1C1 (Numbers) to A1 (Letters).

现在是星期五,您的大脑几乎已满,但是让我们尝试在周末之前在其中塞满一点Excel VBA。 我们之前已经讨论过Excel列标题 ,并了解了如何将“参考样式”设置从R1C1(数字)更改为A1(字母)。

That setting is pretty well hidden, and it's a bit of a pain to switch on and off. We'll create a macro that will let us quickly switch from A1 to R1C1, or from R1C1 to A1.

该设置隐藏得很好,打开和关闭它有点麻烦。 我们将创建一个宏,使我们能够快速从A1切换到R1C1,或从R1C1切换到A1。

步骤1:记录宏以将列标题切换为数字 (Step 1: Record a Macro to Switch Column Headings to Numbers)

To see the Excel VBA code that changes the setting, we can use the Excel Macro Recorder.

要查看更改设置的Excel VBA代码,我们可以使用Exc

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值