1 / 15

Visual Basic Editor

プロジェクトエクスプローラ コードウィンドウ. プロパティウィンドウ  ツールボックス  フォーム. Visual Basic Editor. EXCEL-VBA のモジュール. 標準モジュール ユーザフォームモジュール シートモジュール クラスモジュール. プロシージャの記述方法. Sub  プロシージャ名( )    処理 End Sub. 命令コードの構成. 制御ステートメントの例. If ~ Then ~ Else ~ End If For ~ Next Do While ~ Loop. 命令コードの構成.

Télécharger la présentation

Visual Basic Editor

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. プロジェクトエクスプローラ コードウィンドウ プロパティウィンドウ  ツールボックス  フォーム VisualBasic Editor

  2. EXCEL-VBAのモジュール • 標準モジュール • ユーザフォームモジュール • シートモジュール • クラスモジュール

  3. プロシージャの記述方法 Sub プロシージャ名( )    処理 EndSub

  4. 命令コードの構成

  5. 制御ステートメントの例 • If~Then~Else~End If • For~Next • Do While ~Loop

  6. 命令コードの構成

  7. オブジェクトの例 • ボタン • ラベル • スクロールバー • セル • ワークシート • ユーザフォーム

  8. 命令コードの構成

  9. メソッドの例 • Show • ClearContents • Quit

  10. 命令コードの構成

  11. プロパティの例 • Text • Value • Visible

  12. Rangeオブジェクトの記述方法 Range("セル番地")         ↓ Range("B3")

  13. プロパティの記述方法 オブジェクト.プロパティ   ↓ ↓ ↓ Range("B3").Value   ↓ ↓ ↓ セルB3の値

  14. おもな算術演算子

  15. 代入演算子 • 左辺 = 右辺 •  右辺の値を左辺に代入

More Related