
## add(self, file_name, sheet_names) {#System.String-list}

Adds an external link.


### Returns 


The position of the external name in this list.


```python

def add(self, file_name, sheet_names):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| file_name | System.String | The external file name. |
| sheet_names | list | All sheet names of the external file. |


## add(self, directory_type, file_name, sheet_names) {#aspose.cells.DirectoryType-System.String-list}

Add an external link .


### Returns 


The position of the external name in this list.


```python

def add(self, directory_type, file_name, sheet_names):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| directory_type | aspose.cells.DirectoryType | The directory type of the file name. |
| file_name | System.String | the file name. |
| sheet_names | list | All sheet names of the external file. |



### See Also
* module [`aspose.cells`](../../)
* class [`ExternalLinkCollection`](/cells/python-net/aspose.cells/externallinkcollection)
