Skip to content
This repository was archived by the owner on Aug 20, 2020. It is now read-only.

Commit 50527ff

Browse files
authored
Update README.md
1 parent f55c884 commit 50527ff

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

README.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,15 @@ Im Verzeichnis werden sämtliche sichtbaren Register aufgeführt und sind direkt
44
Die Standard-Einstellungen lassen sich via F5 > Button "config" einsehen und editieren.
55

66
## Wie installiere ich ein Excel-Add-In?
7-
https://support.office.com/de-de/article/add-or-remove-add-in-in-excel-0af570c4-5cf3-4fa9-9b88-403625a0b460
7+
PowerShell:
8+
```PowerShell
9+
Invoke-WebRequest "https://github.com/ahaenggli/Excel-PlugIn-TableOfContents/releases/latest/download/TableOfContentsWorksheetGenerator.xlam" -OutFile $env:APPDATA"\Microsoft\AddIns\TableOfContentsWorksheetGenerator.xlam"
10+
$xl=New-Object -ComObject excel.application
11+
$xl.Application.AddIns | ?{$_.Name -eq 'TableOfContentsWorksheetGenerator.xlam'} | %{$_.Installed=$true}
12+
$xl.Quit()
13+
```
14+
Manuell in Excel:
15+
https://support.office.com/de-de/article/add-or-remove-add-in-in-excel-0af570c4-5cf3-4fa9-9b88-403625a0b460
816

917
## Wie kann ich das Inhaltsverzeichnis erstellen?
1018
Einfach die F5-Taste anklicken.
@@ -31,6 +39,14 @@ Optionally, further attributes such as description, date of creation, status, an
3139
The default settings can be viewed and edited via F5 > "config"-button.
3240

3341
## How to install an Excel add-in
42+
PowerShell:
43+
```PowerShell
44+
Invoke-WebRequest "https://github.com/ahaenggli/Excel-PlugIn-TableOfContents/releases/latest/download/TableOfContentsWorksheetGenerator.xlam" -OutFile $env:APPDATA"\Microsoft\AddIns\TableOfContentsWorksheetGenerator.xlam"
45+
$xl=New-Object -ComObject excel.application
46+
$xl.Application.AddIns | ?{$_.Name -eq 'TableOfContentsWorksheetGenerator.xlam'} | %{$_.Installed=$true}
47+
$xl.Quit()
48+
```
49+
Excel:
3450
https://support.office.com/en-us/article/add-or-remove-add-ins-in-excel-0af570c4-5cf3-4fa9-9b88-403625a0b460
3551

3652
## How can I generate the table of contents worksheet?
@@ -50,4 +66,4 @@ Sure, just click F5 and use the config button to customize it.
5066
The name of the index sheet, wich properties are available on each sheet, which properties you want in the index sheet and of course their order.
5167

5268
## I used F5 for the Excel's GoTo
53-
You can use [CTRL]+G instead.
69+
You can use [CTRL]+G instead.

0 commit comments

Comments
 (0)