# VBA Code to load and write audio metadata

**URL:** https://community.mp3tag.de/t/vba-code-to-load-and-write-audio-metadata/64691
**Category:** Off-Topic
**Created:** [May 16, 2024, 12:49pm UTC](https://community.mp3tag.de/t/vba-code-to-load-and-write-audio-metadata/64691 "2024-05-16T12:49:58Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![bsprice1003](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/ce7236/32.png) [@bsprice1003](https://community.mp3tag.de/u/bsprice1003)
#### Post date: [May 16, 2024, 12:49pm UTC](https://community.mp3tag.de/t/vba-code-to-load-and-write-audio-metadata/64691/1 "2024-05-16T12:49:58Z")

</div>

AS part of a volunteer project I am trying to work on I have thousands of .mp3 .flac and .wav files to deal with. They are stored in a complex hierarchy. There are a series of VBA macros that manipulate these track files. What I need is 2 snippets of VBA code one that will input a pathname and produce a list of the Metadatatags and a second one that will provide a way to change the Metadata for a track selected by its pathname.

I have several code samples but they require installing cddbcontrol.dll which I have not been able to install on any of the PCs that are available for this project.

I would appreciate any assistance you can provide.

Thank you, Bob Price [bprice\_sprice@yahoo.com](mailto:bprice_sprice@yahoo.com)

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [May 16, 2024, 2:50pm UTC](https://community.mp3tag.de/t/vba-code-to-load-and-write-audio-metadata/64691/2 "2024-05-16T14:50:25Z")

</div>

May I ask you, why do you think that the Support-Forum for Mp3tag could help you to search VBA code snippets for your "volunteer project"?

[Mp3tag](https://www.mp3tag.de/en/index.html) is a GUI tool, not a programming language.  
Mp3tag has only a very basic command line functionality to load files into Mp3tag.

If you need help to load your tracks into Mp3tag and then execute all the needed [Actions](https://docs.mp3tag.de/actions/) and [Converters](https://docs.mp3tag.de/converters/), we can help you for sure.

> **[First Steps – Mp3tag Documentation](https://docs.mp3tag.de/getting-started/first-steps/)**
>
> A collection of tasks with step-by-step instructions intended for novice users of Mp3tag. Mp3tag is the universal Tag Editor.
