Excel を全画面表示(DisplayFullScreen プロパティ)
DisplayFullScreen プロパティ
DisplayFullScreen プロパティに、True を指定すると、Excel は、全画面表示になります。
<取得>
object.DisplayFullScreen
<設定>
object.DisplayFullScreen = boolean
引数・戻り値
- object ・・・ 対象となる Application オブジェクトを指定します。
- boolean ・・・ Excel のウィンドウを全画面表示にする場合、Treu を指定します。しない場合は、False を指定します。
Excel 2013 の場合、
Application.DisplayFullScreen = True
Application.WindowState = xlMaximized
いずれの場合も、Excel ウィンドウが全画面表示されます。
WindowState プロパティ に関しては、ウィンドウの状態を取得・設定(WindowState プロパティ) を参照してください。
DisplayFullScreen プロパティ 使用例
サンプルVBAソース
|
1 2 3 4 5 6 7 8 |
Sub Sample_DisplayFullScreen() 'Excelを全画面表示 Application.DisplayFullScreen = True End Sub |
実行結果
関連記事
-
-
新しいウィンドウを開く(NewWindow メソッド)
NewWindow メソッド NewWindow メソッドで、任意のブックのコピ …
-
-
数式バーの設定(DisplayFormulaBar, FormulaBarHeight)
数式バーの設定 数式バーの表示・非表示の設定を行うには、DisplayFormu …
-
-
白黒印刷(PageSetup.BlackAndWhite プロパティ)
PageSetup.BlackAndWhite プロパティ PageSetup. …
-
-
表示されているセル範囲を取得(VisibleRange プロパティ)
VisibleRange プロパティ 現在表示されているセル範囲(Range オ …
-
-
ワークシートをファイルに保存する(SaveAs メソッド)
SaveAs メソッド ワークシートを名前を付けてファイルに保存します。Work …
-
-
印刷のタイトル行、タイトル列を設定(PrintTitleRows,PrintTitleColumns)
PageSetup.PrintTitleRows プロパティ PageSetup …
-
-
印刷設定(フッターに文字列を指定)LeftFooter,CenterFooter,RightFooter
PageSetup.LeftFooter プロパティ PageSetup.Lef …
-
-
ユーザー設定のビュー(CustomView オブジェクト)
ユーザー設定のビュー CustomView オブジェクトは、登録されている各ビュ …
-
-
ブックの表示を変更(View プロパティ)
ブックの表示を変更(View プロパティ) View プロパティ で、ブックの表 …
-
-
最近使用したファイル(RecentFile オブジェクト,RecentFiles コレクション)
最近使用したファイル(RecentFile オブジェクト,RecentFiles …
