エクセルコンテンツ」カテゴリーアーカイブ

スピルと新関数

スピルについて
スピルとは何か、その概要について説明します。

FILTER関数
FILTER関数は、定義した条件に基づいてデータ範囲をフィルター処理した結果を返します。

SORT関数、SORTBY関数
SORT関数は、範囲または配列の内容を並べ替えます。
SORTBY関数は、範囲または配列を対応する範囲または配列の値に基づいて並べ替えます。

UNIQUE関数
UNIQUE関数は、範囲または配列から一意(ユニーク)な値を返します。

RANDARRAY関数
RANDARRAY関数は、ランダムな数値の配列を返します。

SEQUENCE関数
SEQUENCE関数は、連続した数値の配列を作成します。

XLOOKUP関数
XLOOKUP関数は、範囲または配列を検索し、見つかった最初の一致に対応する項目を返します。

XMATCH関数
XMATCH関数は、配列またはセル範囲内で指定された項目を検索し、最初に一致した項目の相対的な位置を返します。

VBAでのデバッグの基本

VBE(VisualBasicEditor)は、VBAで使われるコードエディタ、コンパイラ、デバッガ、その他の開発支援ツールが統合された開発環境です。
VBE(Visual Basic Editor)の使い方と、デバッグについて確認しておきましょう。


VBEの使い方:VBE画面の全体説明
VBAで使われるコードエディタ、コンパイラ、デバッガ、その他の開発支援ツールが統合された開発環境がVBEです。

VBEの使い方:ツールのオプション設定
ここではVBEの環境設定となるツールのオプション設定について説明します。「メニュー」→「ツール」→「オプション」それぞれのタブについて以下で順に説明します。

VBEの使い方:ツールバー
ここではツールバー(アイコン付きのボタン群)について説明します。ツールバーの表示方法 メニューの「表示」→「ツールバー」ツールバーは好きな位置に配置できます。

VBEの使い方:右クリックメニューとヘルプ
ここではマウスの右クリックで表示されるメニューを通して、各機能について説明します。また、合わせてヘルプについても説明します。

VBEの使い方:ショートカットキーとコード編集
ここではVBEのコード編集における、特に重要なショートカットキーと具体的な使い方について説明します。

VBEの使い方:イミディエイト ウィンドウ
ここではイミディエイトウィンドウの使い方について説明します。イミディエイトウィンドウの表示 メニュー「表示」→「イミディエイトウィンドウ」ショートカット:Ctrl+G 初期設定では

VBEの使い方:ローカル ウィンドウ
ここではローカルウィンドウの使い方について説明します。ローカルウィンドウの表示 メニュー「表示」→「イミィディエイトウィンドウ」初期設定ではコードウィンドウの下にドッキング表示されます。

VBEの使い方:ウォッチ ウィンドウ
ここではウォッチウィンドウの使い方について説明します。ウォッチウィンドウの表示 メニュー「表示」→「ウォッチウィンドウ」初期設定ではコードウィンドウの下にドッキング表示されます。

VBEの使い方:オブジェクト ブラウザー
ここではオブジェクトブラウザーの使い方について説明します。オブジェクトブラウザーの表示 メニュー「表示」→「オブジェクトブラウザ」ショートカットはF2 初期設定では

VBEの使い方:デバッグ
ここではVBA開発で、重要かつ避けて通れないデバッグについて説明します。。

Introduction to Excel VBA

Excel VBA is a programming language used in the macro function that automates Excel operations.

VBA is short for “Microsoft Visual Basic Applications”

In this VBA introductory series As an introduction to macro VBA which is required in practice, we will explain VBA in general from basic to application.

Beginners and beginners should read from the beginning.
Even if there are parts that you don’t understand, it is also important to move forward.
Going forward, you may be able to understand what you couldn’t understand before.
By reviewing from time to time, you should be able to realize that your understanding has progressed.

For intermediate / advanced users, please refer to the required items from the table of contents.

Basics of VBA introduction

1.What is a macro? What is VBA?
2.First prepare to use Macro VBA
3.Macro recording
4.Where is the macro written (VBE startup)
5.VBE Set Options (Option Explicit)
6.Let’s write it anyway (Sub, End Sub)
7.To run a macro (F5)
8.What is putting a character in a cell (Range, Value)
9.How to specify cells in Range
10.Specification method other than Range (Cells, Rows, Columns)
11.How to use Range and Cells
12.Variables and data types (Dim)
13.Constants and type declaration characters (Const)
14.Character concatenation and continuation line
15.Four arithmetic operations and annotations (comments)
16.Iterative processing (For Next)
17.Iterative processing (Do Loop)
18.Get last row (End, Rows.Count)
19.General practice question 1