2022年4月14日木曜日

181Excel(プログラムコードをコメント化)(Commented program code)

エクセルVBAでは、簡単に、

プログラムコードをコメント化できます。

プルグラムコードの先頭に、

シングルクォーテーション  ' 

を追加するだけでコメント化できます。

しかし、コードが大量にあって、

コメント化したいコードが大量にある場合は、

いちいち一行ずつ入力するのは手間です。

そこで、簡単にコメント化できる方法が

VBEには用意されています。それは以下の機能です。

---------------------------------

コメント  ブロック

非コメント ブロック

---------------------------------

詳しくは動画をご覧ください。

エクセルマスター道場    閲覧よろしく

With Excel VBA, it ’s easy,
You can comment out the program code.
At the beginning of the program code,
Single quotation'
You can comment by just adding.
But there is a lot of code,
If you have a lot of code that you want to comment on
It is troublesome to enter each line one by one.
So, there is a way to easily comment
It is available in VBE. It has the following features:
---------------------------------
Comment block
Non-comment block
---------------------------------
Please see the video for details.
Excel Master Dojo Thank you for browsing.

0 件のコメント:

コメントを投稿