ServerViewableItems.Add(Object) Method
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.
Adds a reference to the ServerViewableItems collection.
public:
System::Object ^ Add(System::Object ^ Obj);
public object Add (object Obj);
Public Function Add (Obj As Object) As Object
Parameters
- Obj
- Object
Required ObjectObj
can be a reference to sheets or named items (for example, named Ranges, charts, tables, and PivotTables). You cannot have both sheets and named items in the same collection.
Returns
Object
Remarks
If you try to add a mix of both sheets and named items to the ServerViewableItems collection, an error is returned. The ServerViewableItems collection can contain references only to sheets, or references only to named items, but not both in the same call.