Zeigen Sie die prozentuale Fertigstellung in Word mit einer Zielwortanzahl an

2632
houbysoft

Ich weiß, Word zeigt Ihnen die Anzahl der Wörter. Ist es jedoch möglich, die Anzahl der Zielwörter festzulegen und dann den Fertigstellungsgrad anzuzeigen?

Wenn Sie beispielsweise das Ziel auf 1800 Wörter setzen und 900 Wörter hätten, würde dies irgendwo 50% anzeigen.

Eine Lösung für LibreOffice wäre ebenfalls in Ordnung.

2
Ziemlich sicher, dass dies in Vanilla Word nicht möglich ist. Sie könnten immer Ihr eigenes Makro schreiben, das die Wortzählung abruft, nach der Zielanzahl fragt und dann den Prozentsatz in einem Meldungsfeld anzeigt ... Scheint eine Zeitverschwendung von IMHO zu sein. kevlar1818 vor 11 Jahren 0
@ kevlar1818: es ist für einen Freund, er wollte, dass dies den Fortschritt in College-Essays verfolgt, wo es oft eine bestimmte Anzahl von Wörtern gibt. houbysoft vor 11 Jahren 0

1 Antwort auf die Frage

5
tohuwawohu

The word count is available as field . You could create a custom field that shows the result of a formula:

{=(100/<target>) * \# "0 %"}

If you put thie field into the header / footer of the page, you'll have a display of the percent completion. This value won't update automatically, but it's no problem to write a one-line macro ActiveDocument.Fields.Update and define a keybord shortcut. You could even "refactor" that field and define the target value as variable.

If you enter the formula above, take care not to insert literally - Word won't accept the formula. Instead, create the formula without in a first step, then edit it and insert the NUMWORDS field using the ribbon.

Since the word count is available as field also in LibreOffice, i assume a similar solution would be possible there, too, but at a first glance i didn't find a way to define the function.

EDIT:

A quick and dirty (!) VBA macro may look as follows:

Sub count() MsgBox "Target Count Ratio: " & Int(100 / 1800 * Int(ActiveDocument.BuiltInDocumentProperties("Number of Words"))) & "%" End Sub 

It just pops up a message box displaying the current target count ratio.

Vielleicht kann die Leertaste ein Leerzeichen an das Dokument senden und auch das Makro aktivieren? Oder ändern Sie das Makro, um die Berechnung durchzuführen, und senden Sie dann den Platz an das Dokument jftuga vor 11 Jahren 0
@jftuga: Ich denke, das sollte von der Anzahl der zu aktualisierenden Felder im Dokument abhängen. Das Aktualisieren der Wortanzahl ist nicht das Problem, aber das Aktualisieren des Inhalts von Exery Space kann zu einer schlechten Benutzererfahrung führen. Binden Sie ihn stattdessen lieber an eine Schaltfläche oder an eine bestimmte Verknüpfung. tohuwawohu vor 11 Jahren 0