Ga naar hoofdinhoud

Hoe het bestandspad in de titelbalk of werkbalk in Excel te tonen?

Wanneer u een werkmap opent, wordt de naam van de werkmap standaard weergegeven in de titelbalk. Maar soms wilt u het volledige pad in de tegelbalk of werkbalk in uw Excel-bestand weergeven. Heeft u ooit geprobeerd dit probleem zelf op te lossen? Vandaag kan ik u enkele snelle trucs voorstellen om het volledige bestandspad in de titelbalk of werkbalk in een werkmap te tonen.

Toon het volledige bestandspad in de titelbalk in Excel

Toon het volledige bestandspad in de werkbalk in Excel


pijl blauw rechts bel Toon het volledige bestandspad in de titelbalk in Excel

In Excel is er geen directe manier om het volledige pad in de titelbalk weer te geven, maar u kunt de volgende eenvoudige VBA-code toepassen, doe dit als volgt:

1. Houd de ALT + F11 toetsen, en het opent de Microsoft Visual Basic for Applications-venster.

2. Klikken Invoegen > Moduleen plak de volgende code in het Module Venster.

VBA-code: geef het volledige pad weer in de titelbalk

Sub showCaption () ActiveWindow.Caption = ActiveWorkbook.FullName End Sub

3. Druk vervolgens op F5 toets om deze code uit te voeren, en het volledige bestandspad wordt meteen in de titelbalk weergegeven. Zie screenshot:

doc-show-volledig-pad-in-titelbalk-1

Opmerking: Wanneer u de werkmap hernoemt, wordt het pad niet automatisch bijgewerkt. U moet deze code opnieuw uitvoeren om het pad van het Excel-bestand bij te werken.


pijl blauw rechts bel Toon het volledige bestandspad in de werkbalk in Excel

Als u het volledige pad in de werkbalk van uw werkmap wilt weergeven, kunt u dit afronden met de volgende stappen:

1. Ga om te klikken Pas de werkbalk Snelle toegang aan > Meer opdrachten, zie screenshot:

doc-show-volledig-pad-in-titelbalk-1

2. In de Excel-opties dialoogvenster, kies Alle opdrachten van het Kies opdrachten van vervolgkeuzelijst en scrol omlaag naar Documentlocatie En klik vervolgens op Toevoegen >> knop om deze optie toe te voegen aan het Pas de werkbalk Snelle toegang aan keuzelijst, zie screenshot:

doc-show-volledig-pad-in-titelbalk-1

3. Dan klikken OK om dit dialoogvenster te sluiten, en het volledige bestandspad is weergegeven in de werkbalk, zie screenshot:

doc-show-volledig-pad-in-titelbalk-1

Note: Deze methode kan ook niet automatisch worden bijgewerkt wanneer het bestand wordt hernoemd.


Gerelateerd artikel:

Hoe de laatste gewijzigde datum in Excel-kop- of voettekst invoegen?

Beste Office-productiviteitstools

馃 Kutools AI-assistent: Een revolutie teweegbrengen in de data-analyse op basis van: Intelligente uitvoering   |  Genereer code  |  Aangepaste formules maken  |  Analyseer gegevens en genereer grafieken  |  Roep Kutools-functies aan...
Populaire functies: Zoek, markeer of identificeer duplicaten   |  Verwijder lege rijen   |  Combineer kolommen of cellen zonder gegevens te verliezen   |   Ronde zonder formule ...
Super opzoeken: Meerdere criteria VLookup    VLookup met meerdere waarden  |   VOpzoeken over meerdere bladen   |   Fuzzy opzoeken ....
Geavanceerde vervolgkeuzelijst: Maak snel een vervolgkeuzelijst   |  Afhankelijke vervolgkeuzelijst   |  Multi-select vervolgkeuzelijst ....
Kolom Beheerder: Voeg een specifiek aantal kolommen toe  |  Kolommen verplaatsen  |  Schakel de zichtbaarheidsstatus van verborgen kolommen in  |  Vergelijk bereiken en kolommen ...
Uitgelichte functies: Raster focus   |  Ontwerpweergave   |   Grote formulebalk    Werkmap- en bladbeheer   |  resource Library (Auto-tekst)   |  Datumkiezer   |  Combineer werkbladen   |  Cellen coderen/decoderen    Stuur e-mails per lijst   |  Super filter   |   Speciaal filter (filter vet/cursief/doorhalen...) ...
Top 15 gereedschapsets12 Tekst Tools (toe te voegen tekst, Tekens verwijderen, ...)   |   50+ tabel Types (Gantt Chart, ...)   |   40+ Praktisch Formules (Bereken leeftijd op basis van verjaardag, ...)   |   19 Invoeging Tools (QR-code invoegen, Afbeelding invoegen vanaf pad, ...)   |   12 Camper ombouw Tools (Getallen naar woorden, Currency Conversion, ...)   |   7 Samenvoegen en splitsen Tools (Geavanceerd Combineer rijen, Gespleten cellen, ...)   |   ... en meer

Geef uw Excel-vaardigheden een boost met Kutools voor Excel en ervaar effici毛ntie als nooit tevoren. Kutools voor Excel biedt meer dan 300 geavanceerde functies om de productiviteit te verhogen en tijd te besparen.  Klik hier om de functie te krijgen die u het meest nodig heeft...

Omschrijving


Office-tabblad Brengt een interface met tabbladen naar Office en maakt uw werk veel gemakkelijker

  • Schakel bewerken en lezen met tabbladen in Word, Excel, PowerPoint in, Publisher, Access, Visio en Project.
  • Open en maak meerdere documenten in nieuwe tabbladen van hetzelfde venster in plaats van in nieuwe vensters.
  • Verhoogt uw productiviteit met 50% en vermindert honderden muisklikken voor u elke dag!
Comments (6)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
how can i show the file path by default on the bottom of each & every document..help
This comment was minimized by the moderator on the site
I am in Mac OS X 10.13.2. This code results in showing (almost) the entire path, but the file extension is missing. I have searched for how to turn on the file extension in the title bar, but have not found an answer yet. Other answers refer to how to show file extension in the finder window, which I have done successfully. However, Excel 2016 still won't show file extensions in the title banner. Can you please advise how to turn this on?
This comment was minimized by the moderator on the site
In windows OS the file extension will be visible across the OS when Explorer->Tools->Folder Options->View->"Hide extensions for known file types" is unchecked.
In Mac OS you might need this article https://support.apple.com/en-in/guide/mac-help/mchlp2304/mac.
This comment was minimized by the moderator on the site
On Mac OS you can just right-click the file name in the title bar and get the path. That is across the OS and works in almost any application
This comment was minimized by the moderator on the site
I tried running this and it worked the first time I ran it...closed that workbook and opened another went to run it again and got "RUNTIME ERROR 424" it was looking for a object. I have no VBA experience and am perplexed how 3 line of code can be so confusing...any ideas this is the line it was focusing on when I hit debug ActiveWindow.Caption = ActiveWorkbook.FullName
This comment was minimized by the moderator on the site
The QuickToolBar Document.Fullpath Doesn't work as advertised. Is only showing root path. Does not show subfolder it is in. In this case document is on Sharepoint, and all it shows is the domain, which makes this useless.Especially since the way the document is referenced is through a map to the sharepoint. So not showing the local path, and the online path is incomplete
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
Rate this post:
0   Characters
Suggested Locations