Microsoft Excelのフォームコントロール(Form Controls)では、ダイアログシートのリストで項目を選択するのに便利です。フォームコントロール(Form Controls)を使用すると、ユーザーは作成したセルデータを簡単に操作できます。いくつかのコントロールフォーム(Control Forms)がワークシートに追加されます。これらは、ラベル(Label)、グループ(Group)ボックス、チェックボックスボタン(Checkbox Button)、オプションボタン(Option Button)、リストボックス(List Box)、コンボボックス(Combo Box)、スクロールバー(Scroll Bar)、およびスピンボタン(Spin Button)です。
フォームコントロールの種類
- ラベル(Label):ラベル(Labels)には、画像、タイトル、キャプションなどの説明テキストが表示され、セルの目的も識別されます。
- グループボックス(Group box):密接に関連するコンテンツは、オプションのラベルでグループ化されます。
- ボタン(Button):このコントロール(Control)はマクロを実行し、ユーザーがクリックするとアクションを実行します。
- チェックボックス(Check Box):これにより、ユーザーは反対の選択を意味する値をオンまたはオフにするオプションが提供されます。複数のチェックボックス(Check Box)を選択できます。
- オプションボタン:(Options Button: )チェックボックス(Check Box)と同様に、反対の選択を示す値をオンまたはオフにするオプションもあります。唯一の違いは、チェックボックスとは異なり、(Check Box)オプションボタン(Option Button)ではユーザーが選択できるのは1つだけであるということです。
- リストボックス:(List Box:)ユーザーが選択できるテキストアイテムのリストを表示します。
- コンボボックス(Combo Box):これは、ドロップダウンリストボックスを作成するためのリストボックスを備えたテキストボックスです。コンボボックスを使用すると、ユーザーはドロップダウン矢印をクリックしてリストを表示できます。
- スクロールバー:(Scroll Bar: )スクロール(Scroll)バーの矢印キーを使用して値の範囲をスクロールするか、スクロールボックスをドラッグまたはドラッグします。
- スピンボタン:(Spin Button: )数値、日付、時刻などの値を増減します。値を増やすには、上矢印をクリックします。値を減らすには、下矢印をクリックします。
Excelでフォームコントロールを作成して使用する
この記事では、次のトピックについて説明します。
- フォームコントロールを見つける方法
- ラベルの作成方法
- ボタンの作成方法
- チェックボックスの作成方法
- オプションボタンの作成方法
- リストボックスの作成方法
- コンボボックスの作成方法
- スクロールバーの作成方法
- スピンボタンの作成方法
- グループボックスの作成方法
1]フォームコントロールを見つける方法

標準ツールバー(Standard Tool Bar) を右クリックして、[リボンのカスタマイズ](Customized the Ribbon)を選択します。ExcelOptionというダイアログボックスが表示されます。ダイアログボックスの左側で、[開発者(Developer)]の横にある[チェックボックス(Check Box)]をクリックし、[ OK]をクリックします。(OK. )メニューバーに、(Menu Bar, ) [開発者(Developer )]タブが表示されます。
2]ラベルの作成方法

開発者ウィンドウ(Developer Window)で、挿入ツール(Insert Tool)をクリックすると、コントロールフォーム(Control Forms)のリストが表示されます。[ラベル](Label)をクリックします。十字型のカーソルが表示されます。これを使用してラベル(Label)を描画し、右クリックして[テキストの編集]を選択して、(Edit Text)ラベル(Label)にテキストを入力します。
3]ボタンの作成方法

コントロールグループの(Controls Group)挿入ツール(Insert Tool)に移動します。ボタンツール(Button Tool)を選択します。十字形のカーソルが表示されます。ボタンをドラッグして作成します。[マクロ(Assign Macro)の割り当て]ダイアログボックスが表示されます。[ (Click)OK]をクリックします。Excelシートにボタン(button)が表示されます。
4]チェックボックスの作成方法

挿入ツール(Insert Tool)に移動し、チェックボックスツール(Check Box Tool)を選択します。十字形のカーソルが表示され、チェックボックス(Check Box)が描画されます。これで、チェックボックス(Check Box)ができました。名前を変更するには、チェックボックス(Check Box)を右クリックして[テキストの編集(Edit text)]を選択します。
5]オプションボタンの作成方法

[ツールボックスの挿入]で、[(Insert Toolbox)オプション]ボタン(Option Button)を選択します。十字形のカーソルがあります。十字形のカーソルを取り、オプションボタン(Option Button)を描画します。オプションボタン(Option Button)にテキストを入力するには、ボタンを右クリックまたはダブルタップしてテキストを入力するか、右クリックして[テキストの編集(Edit Text)]を選択します。
6]リストボックスの作成方法

挿入ツール(Insert Tool)に移動し、リストボックス(List Box)を選択します; 十字形のカーソルがブックに表示され、十字形のカーソルを使用してリストボックス(List Box)を描画します。ボックスにデータを入力するには、ボックスを右クリックして[フォーマットコントロール](Format Control)を選択します。[フォーマットコントロール](Format Control) ダイアログボックス(Dialog Box)が表示されます。[コントロール(Control)]をクリックし、[入力範囲(Input Range)]エントリをクリックして、リストに含めるセルに移動します。 、それをクリックして下にドラッグします。選択した入力範囲(Input Range )はダイアログボックスの[入力範囲]にあります。次に、[セルリンク]エントリをクリックして、セル(Cell Link)リンク(Cell Link)を挿入するセルを選択します。

セルリンク(Cell Link)には、リストボックス(List Box)でクリックしたデータが表示されます。選択したすべての値に対して行が表示されます。次にOK。ボックス内で選択したすべての数値の行をリストボックス(List Box)に表示する場合は、選択したセルの範囲をクリックし、リスト内のデータのいずれかをクリックして、データが含まれる行を表示します。のみを表示する場合リストデータの場合、この式=INDEX (B2:B7, J2, 0)を使用します。B2:B7は選択したセルの範囲、J2は前に表示した行です。Enterキーを押すと、リスト内の任意の番号をクリックすると、リストの元の番号が表示されます。
7]コンボボックスの作り方

挿入ツール(Insert Tool)をクリックし、コンボボックス(Combo Box)を選択します。十字形のカーソルを使用してコンボボックスを描画し、コンボ(Combo Box)ボックス(Combo Box)を右クリックして、[フォームコントロール(Form Controls)]を選択し、[入力範囲(Input Range)]をクリックしてから、リストを含めるセルに移動して下にドラッグし、[セル(Cell Link)]をクリックします。リンクして、セルリンク(Cell Link)を配置するセルを選択します。この記事では、描かれたコンボボックスの上に置きます。(Combo Box)次にOK。これで、ワークブックに機能的なコンボボックスができました。(Combo Box)
8]スクロールバーの作成方法

[挿入(Insert)]をクリックし、[スクロールバー]を選択して、ワークシートに(Scroll Bar)スクロールバー(Scroll Bar)を描画し、右クリックして[フォーム(Form) コントロール(Controls)]を選択し、[OK]を選択します。次に、スクロールバーを右クリック(O)して、[フォーム(Scroll Bar)コントロール(Control)]を選択します。[フォームコントロール(Form Control)]ダイアログボックスが表示されます。[コントロール(Controls)]をクリックして変更を加えます。コントロールを取得する(Controls)セルリンク(Cell Link)を選択します。この記事では、セル$E$2を選択します。わかった。スクロールバー(Scroll Bar)が作成されます。スクロールバー(Scroll Bar)の左矢印をクリックすると、数字が表示されます(Decreases)スクロールバー(Scroll Bar)の右矢印をクリックすると減少し、数が増加(Increases)します。
9]スピンボタンの作り方

[挿入]をクリックし、[(Insert)スピンボタン](Spin Button)を選択します。ワークシートに表示される十字カーソルを使用して、スピンボタン(Spin button)を描画します。次に、右クリックして[フォームコントロール(Form Controls)]を選択します。[フォームコントロール]ダイアログボックスの[( Form Control)コントロール(Control)]タブを選択し、必要に応じて変更を加え、[セルリンク]エントリを(,)クリックしてセル(Cell Link )リンクを選択し、[セル(Cell Link)リンク(Cell Link)]エントリボックスに表示されるセルをクリックして、[ OK ]をクリックします。これでスピンボタン(Spin Button)ができました。上矢印ボタンをクリックします。数が増える(Increases); 下矢印ボタンをクリックします矢印が減少します(Decreases)。
10]グループボックスの作り方

[挿入]をクリックし、[(Insert)グループボックス(Group box)]を選択し、十字カーソルを使用してグループボックス(Group Box)を描画します。グループボックス(Group Box)にデータを入力するには、右クリックして[テキストの編集]を選択するか、(Edit Text)グループボックス(Group Box)のすぐ外側をダブルタップします。
私はこれが役立つと信じています。
今すぐ読む(Now read):MicrosoftExcelでブックのテーマを追加または変更する方法(How to add or change the Theme for Workbook in Microsoft Excel)。
How to create and use Form Controls in Excel
In Microsoft Excel, Form Controls, it is useful for selecting items in a list of a dialog sheet. Form Controls makes it easier for the users to interact with the cell data that they have created. Several Control Forms will add to your worksheet; these are Label, Group box, Checkbox Button, Option Button, List Box, Combo Box, Scroll Bar, and Spin Button.
The Types of Form Controls
- Label: Labels shows descriptive text such as pictures, titles, and caption, it also identifies the objective of a cell.
- Group box: Closely related contents are grouped with an optional label.
- Button: this Control runs a macro and performs an action when a user clicks on it.
- Check Box: this gives the user the option to turn on and off a value that implies the opposite choice. You can select more than one Check Box.
- Options Button: Like the Check Box, it also gives you the option to turn on and off a value that indicates an opposite choice. The only difference is that the Option Button only allows the user to select only one choice, unlike the Check Box.
- List Box: Displays a list of text items that the user can choose from.
- Combo Box: This is a text box with a list box to create a drop-down list box. The combo box allows the user to click a drop-down arrow to display the list.
- Scroll Bar: Scroll through a range of values using the scroll bar arrow keys or drag or drag the scroll box.
- Spin Button: This increases or decreases values such as numbers, dates, or time. To increase the value, click the up arrow; to decrease the value click the down arrow.
Create & use Form Controls in Excel
In this article, we are going to discuss these topics:
- How to Find the Form Controls
- How to Create a Label
- How to create a Button
- How to create a Check Box
- How to create an Option button
- How to create a List Box
- How to create a Combo Box
- How to create a Scroll Bar
- How to create a Spin Button
- How to create a Group Box
1] How to Find the Form Controls

Right-Click on the Standard Tool Bar and select Customized the Ribbon. A dialog box will pop up called Excel Option. On the left of the dialog box, click the Check Box beside Developer, then OK. On the Menu Bar, you will see the Developer tab.
2] How to Create a Label

On the Developer Window, click the Insert Tool, you will see a list of the Control Forms. Click Label. You will see a cross-shaped cursor appear; use it to draw the Label, then right-click and select Edit Text to enter your text in the Label.
3] How to Create a Button

Go to the Insert Tool in the Controls Group. Select the Button Tool. You will see a cross shape cursor; drag it across to create the button. An Assign Macro dialog box will appear. Click OK. You will see a button in the excel sheet.
4] How to Create a check box

Go to the Insert Tool and select the Check Box Tool. A cross shape cursor will appear draw your Check Box. Now you have a Check Box. To rename, right-click the Check Box and select Edit text.
5] How to create an Option button

In the Insert Toolbox, select the Option Button. There will be a cross shape cursor; take the cross-shape cursor, and draw your Option Button. To enter text into the Option Button, right-click or double-tap in the button and enter your text or right-click and select Edit Text.
6] How to create a List Box

Go to the Insert Tool, select List Box; a cross-shaped cursor will appear in the workbook, and use the cross-shape cursor to draw the List Box. To enter data into the box, right-click the box, and select Format Control, a Format Control Dialog Box will appear, click on Control, click into the Input Range entry, then go over the cell that you want to be in the list, click on it and drag it down. The input range selected is in the Input Range in the dialog box, now click into the Cell Link entry and choose a cell where you want the Cell Link to be inserted.

The Cell Link will display whatever data you click in the List Box; the row will appear for every value selected. Then OK. If you want the List Box to show the rows for every number you selected within the box, click the range of cells you selected, click any of the data in the list and display which row the data is in. If you want to show only the list data, use this formula =INDEX (B2:B7, J2, 0). B2:B7 is the range of cell you selected, J2 is the row that you have displayed before. When you press enter, you will see the original number from the list when you click on any number within the list.
7] How to create a combo Box

Click the Insert Tool, select Combo Box. Use the cross shape cursor to draw the Combo Box, right-click the Combo Box, select Form Controls, click into the Input Range, then go over the cell that you want the list to be in and drag it down, click into the Cell Link and choose a cell where you want the Cell Link to be placed. In this article, we put it over the Combo Box that was drawn. Then OK. Now you have a functional Combo Box in your workbook.
8] How to create a scroll Bar

Click Insert, select Scroll Bar, draw the Scroll Bar in the worksheet, then right-click, select Form Controls, and then select OK. Then right-click the Scroll Bar, then select Form Control. A Form Control dialog box will pop up. Click Controls to make your changes; select a Cell Link where you want the Controls to be taken. In this article, we choose the cell $E$2. OK. A Scroll Bar will be created. When you click on the Scroll Bar‘s left arrow, the number Decreases when you click on the right arrow of the Scroll Bar, the number Increases.
9] How to create a Spin Button

Click Insert, select the Spin Button. Use the cross shape cursor that appears in the worksheet to draw the Spin button. Then right-click select Form Controls; select the Control tab in the Form Control dialog box, make any changes if you want, select a Cell Link by clicking into the Cell Link entry, then click a cell it will appear into the Cell Link entry box then OK. Now we have a Spin Button. Click the up-arrow button; the number Increases; click the down arrow button the arrow Decreases.
10] How to create a group box

Click Insert, choose Group box, use the cross shape cursor to draw the Group Box. To enter data into the Group Box, right-click, select Edit Text, or double-tap right outside the Group Box.
I trust this helps.
Now read: How to add or change the Theme for Workbook in Microsoft Excel.