Microsoft.Office.Interop.Excel Namespace > Workbooks Interface : Add Method |
'Declaration
<DispIdAttribute(181)> <LCIDConversionAttribute(1)> Function Add( _ Optional ByVal Template As Object _ ) As Workbook
'Usage
Dim instance As Workbooks Dim Template As Object Dim value As Workbook value = instance.Add(Template)
[DispId(181)] [LCIDConversion(1)] Workbook Add( object Template )
[DispId(181)] [LCIDConversion(1)] Workbook^ Add( Object^ Template )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2