XmlMappedRange.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 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
An Application that represents the Excel application.
Examples
The following code example uses the Application property to tile all open application windows. This code example assumes that the current worksheet contains an XmlMappedRange named CustomerLastNameCell
.
private void TileApplicationWindows()
{
Excel.Application application1 = this.CustomerLastNameCell.Application;
application1.Windows.Arrange(Excel.XlArrangeStyle.xlArrangeStyleTiled);
}
Private Sub TileApplicationWindows()
Dim application1 As Excel.Application = _
Me.CustomerLastNameCell.Application
application1.Windows.Arrange( _
Excel.XlArrangeStyle.xlArrangeStyleTiled)
End Sub