issue96:libreoffice
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
issue96:libreoffice [2015/05/20 06:48] – d52fr | issue96:libreoffice [2015/05/22 15:19] (Version actuelle) – andre_domenech | ||
---|---|---|---|
Ligne 4: | Ligne 4: | ||
Since our main topic concerns linking data from other sheets, you need to know the difference between inserting a sheet and linking a sheet. When a sheet is inserted, you can change the cells in both sheets and changes in one will not affect the other. However, when you create a link in sheet 2 to sheet 1, changes to cells in sheet 1 will override changes in sheet 2 when sheet 2 is updated. Changes in sheet 2 have no effect on sheet 1.** | Since our main topic concerns linking data from other sheets, you need to know the difference between inserting a sheet and linking a sheet. When a sheet is inserted, you can change the cells in both sheets and changes in one will not affect the other. However, when you create a link in sheet 2 to sheet 1, changes to cells in sheet 1 will override changes in sheet 2 when sheet 2 is updated. Changes in sheet 2 have no effect on sheet 1.** | ||
+ | |||
+ | Se relier à des données du Web est souvent utile, mais, parfois, vous avez juste besoin de passer des données d'une feuille de calcul à un autre fichier Calc. Vous pouvez simplement importer ou lier toute la feuille à un autre fichier. Vous le faites par la boîte de dialogue Insertion Feuille... Un autre choix existe, avec un peu plus de possibilités, | ||
+ | |||
+ | Différence entre Insérer et Lier | ||
+ | |||
+ | Parce que notre sujet principal concerne les liaisons de données avec d' | ||
**Link/ Insert Whole Sheet | **Link/ Insert Whole Sheet | ||
Ligne 18: | Ligne 24: | ||
Click the OK button to import / create the sheets using the options you have selected.** | Click the OK button to import / create the sheets using the options you have selected.** | ||
+ | |||
+ | Lier/ | ||
+ | |||
+ | Parfois, vous avez seulement besoin de toute la feuille de calcul d'un tableur dans le fichier d'un autre tableur. Si vous voulez faire des modifications dans la feuille et que ces changements persistent, vous devez importer la feuille. Cependant, si vous avez besoin que tous les changements dans la feuille originale soient appliqués aussi à la nouvelle feuille, vous avez besoin de créer un lien. A partir du menu Insertion > Feuille..., vous ouvrez la boîte de dialogue Insérer une feuille. | ||
+ | |||
+ | Vous avez deux choix pour positionner la nouvelle feuille dans le tableur. Vous pouvez la placer avant ou après la feuille actuellement sélectionnée. Les options Position vous permettent de sélectionner où vous voulez placer la nouvelle feuille importée/ | ||
+ | |||
+ | Vous avez le choix entre créer une nouvelle feuille vierge ou sélectionner une feuille existante d'un autre fichier. Les choix sous « Nouvelle feuille » vous permettent de créer une ou plusieurs feuilles vierges. Les réglages sous « A partir d'un fichier » vous donnent le choix d' | ||
+ | |||
+ | Dans les options de « Nouvelle feuille », vous pouvez définir le nombre de feuilles vierges à ajouter et, si vous n'en voulez qu' | ||
+ | |||
+ | Pour les options de « A partir d'un fichier », vous utilisez le bouton « Parcourir... » pour définir le fichier contenant la feuille (ou les feuilles) à importer dans votre nouveau fichier de tableur. Une fois que le fichier choisi est ouvert, la liste des feuilles apparaît dans la fenêtre déroulante. Sélectionnez la/les feuille(s) que vous voulez dans votre nouveau fichier. Pour sélectionner plusieurs feuilles successives, | ||
+ | |||
+ | Cliquez sur OK pour importer/ | ||
**Link Part of a Sheet | **Link Part of a Sheet | ||
Ligne 27: | Ligne 47: | ||
For example, let's say you want to link to just the top ten stocks from the top 100 stocks we pulled from the web last time. Open up the 100 stocks file linked to the data on the web. Select the range A1:H12. Insert > Name > Define. The Define Name dialog will show. Give the range a name like “Top10”. Remember that the name cannot contain spaces. The range should fill in with the range you selected. Leave the scope as “Document (Global).” Click the Add button, and save the file.** | For example, let's say you want to link to just the top ten stocks from the top 100 stocks we pulled from the web last time. Open up the 100 stocks file linked to the data on the web. Select the range A1:H12. Insert > Name > Define. The Define Name dialog will show. Give the range a name like “Top10”. Remember that the name cannot contain spaces. The range should fill in with the range you selected. Leave the scope as “Document (Global).” Click the Add button, and save the file.** | ||
- | Create a new spreadsheet file, File > New > Spreadsheet. We will use the External Data dialog instead of the Navigator this time. Insert > Link to External Data opens the dialog. The drop-down list shows a list of recent documents. Select the top 100 stocks file. If the document you need does not appear in the drop-down list, you can click on the ellipse (…) button to browse to and select the file. Once you select your file, the named ranges appear in the list box. Select the named range Top10 from the stocks file to link to the top 10 stocks. You can set how often the file should update when open by setting the “Update every” field. Keep in mind the number is in seconds.** | + | Lier une partie de feuille |
- | **Click OK and you now have a link to the top 10 stocks. The data will update from the original sheet every time you open the file or at the specified update interval. | + | Pour vous montrer comment se relier à des données du Web, j'ai utilisé le Navigateur pour lier les données. Aujourd' |
- | You can link to a web page using the External Data dialog as well. Just type in or paste the URL into the drop down box and press enter. You will get the import data dialog discussed in the last article. You will get a list of link names. Unlike the Navigator method, there is no way to preview which element is the one you need. It becomes a matter of trial and error (mostly error). This is why I recommended the Navigator method as the best for linking to web data. | + | Pour lier seulement une section d'une feuille, vous devez définir la portion de votre feuille que vous voulez lier. C'est fait en créant une plage nommée. Nous avons parlé des plages nommées dans la partie 42 (n° 90 du Full Circle Magazine). Nous créerons une plage nommée afin de pouvoir créer une liaison à cette portion de la feuille. |
+ | |||
+ | Par exemple, disons que vous voulez lier juste les 10 premières lignes de vos 100 valeurs boursières, | ||
+ | |||
+ | **Create a new spreadsheet file, File > New > Spreadsheet. We will use the External Data dialog instead of the Navigator this time. Insert > Link to External Data opens the dialog. The drop-down list shows a list of recent documents. Select the top 100 stocks file. If the document you need does not appear in the drop-down list, you can click on the ellipse (…) button to browse to and select the file. Once you select your file, the named ranges appear in the list box. Select the named range Top10 from the stocks file to link to the top 10 stocks. You can set how often the file should update when open by setting the “Update every” field. Keep in mind the number is in seconds. | ||
+ | |||
+ | Click OK and you now have a link to the top 10 stocks. The data will update from the original sheet every time you open the file or at the specified update interval.** | ||
+ | |||
+ | Créer un nouveau fichier de tableur, Fichier > Nouveau > Classeur. Cette fois, nous allons utiliser la boîte de dialogue Données externes à la place du Navigateur. Insertion > Lien vers des données externes... ouvre la boîte de dialogue. La liste déroulante présente un ensemble de documents récents. Sélectionner le fichier des 100 valeurs boursières. Si le document voulu n' | ||
+ | |||
+ | Cliquez sur OK et vous avez maintenant un lien vers les 10 premières valeurs boursières. Les données seront rafraîchies à partir de la feuille d' | ||
+ | |||
+ | **You can link to a web page using the External Data dialog as well. Just type in or paste the URL into the drop down box and press enter. You will get the import data dialog discussed in the last article. You will get a list of link names. Unlike the Navigator method, there is no way to preview which element is the one you need. It becomes a matter of trial and error (mostly error). This is why I recommended the Navigator method as the best for linking to web data. | ||
You can also use the Navigator to link to named ranges in other documents. Just drag the ranged range into your new document. | You can also use the Navigator to link to named ranges in other documents. Just drag the ranged range into your new document. | ||
Not only can we link to data on the web, but we can also link to data in other Calc files. We can import or link entire sheets using the Insert Sheet dialog. If we need just a portion of a sheet, we can create a named range in the original sheet. In a new sheet, we can link to the named range in the original sheet through the External Data dialog. Always keep in mind the difference between linking and importing. Imported data is not affected by changes in the original, but linked data is affected by changes in the original.** | Not only can we link to data on the web, but we can also link to data in other Calc files. We can import or link entire sheets using the Insert Sheet dialog. If we need just a portion of a sheet, we can create a named range in the original sheet. In a new sheet, we can link to the named range in the original sheet through the External Data dialog. Always keep in mind the difference between linking and importing. Imported data is not affected by changes in the original, but linked data is affected by changes in the original.** | ||
+ | |||
+ | Vous pouvez aussi relier une page Web en utilisant la boîte de dialogue Données externes. Tapez simplement l'URL ou collez-la dans la liste déroulante et appuyez sur Entrée. Vous obtiendrez la boîte de dialogue présentée dans le précédent article. Vous obtiendrez une liste de noms de liens. Contrairement à la méthode par le Navigateur, il n'y a pas de possibilité de prévisualiser quel est l' | ||
+ | |||
+ | Vous pouvez utiliser aussi la méthode du Navigateur pour lier des plages nommées à d' | ||
+ | |||
+ | Nous pouvons non seulement lier des données sur le Web, mais nous pouvons aussi relier des données d' |
issue96/libreoffice.1432097325.txt.gz · Dernière modification : 2015/05/20 06:48 de d52fr