格式化代码VBA [英] Formatting the code VBA

查看:152
本文介绍了格式化代码VBA的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在VBA中是否有对齐代码的快捷方式?

我正在使用Excel VBA编辑器.

我一直在尝试左对齐我的代码,但是对齐"菜单已淡出.

当我选择几行代码时,请转到格式->对齐->左/中(淡出,我根本无法选择)

我使用的方法正确吗?

Is there a shortcut to align code in VBA?

I''m using the Excel VBA editor.

I''ve been trying for sometime to left align my code, but the Align menu is faded off.

When I select few lines of codes, go to Format -> Align -> lefts/Centers( This is faded off and I cannot select this at all)

Am I doing it the right way ?

推荐答案

从未使用过该编辑器,在其他一些编辑器中,可以按TAB和SHIFT + TAB来移动整个文本选择. br/>
问候:thumbsup:
Never used that editor, in some other editors, you can press TAB and SHIFT+TAB to move entire text selections.

Regards, :thumbsup:


这篇关于格式化代码VBA的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆