WorksheetBase.Application Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a Application object that represents the Microsoft Office Excel application.
public:
property Microsoft::Office::Interop::Excel::Application ^ Application { Microsoft::Office::Interop::Excel::Application ^ get(); };
public Microsoft.Office.Interop.Excel.Application Application { get; }
member this.Application : Microsoft.Office.Interop.Excel.Application
Public ReadOnly Property Application As Application
Property Value
A Application that represents the Excel application.
Examples
The following code example uses the Application property to rearrange the application windows.
This example is for a document-level customization.
private void TileApplicationWindows()
{
this.Application.Windows.Arrange(Excel.XlArrangeStyle.xlArrangeStyleTiled);
}
Private Sub TileApplicationWindows()
Me.Application.Windows.Arrange(Excel.XlArrangeStyle.xlArrangeStyleTiled)
End Sub