# Exporting to excel part 2

**URL:** https://community.mp3tag.de/t/exporting-to-excel-part-2/62647
**Category:** Support
**Created:** [November 3, 2023, 7:55pm UTC](https://community.mp3tag.de/t/exporting-to-excel-part-2/62647 "2023-11-03T19:55:42Z")
**Posts on this page:** 1
**Showing post:** 28

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [November 27, 2023, 6:44am UTC](https://community.mp3tag.de/t/exporting-to-excel-part-2/62647/28 "2023-11-27T06:44:26Z")

</div>

Yes, no wonder.  
You did not replace

> [@Scorpius](#):
>
> $loop(%\_filename\_ext%)

(which is still there in your script)  
but simply added another $loop(), this time

> [@Scorpius](#):
>
> $loop(%artist%%album%$num(%track%,2))

at the end.  
And obviously, you did not have a look at the documentation as otherwise you would know by now the syntax for $loopend() which has already been revealed to you also in this thread:

> [@LyricsLover](#):
>
> The command `loopend` must not contain anything else then `()`

Thirdly, I think that you still have not inserted the paragraph/lin break in front of the $loop() statement.  
And as all these are changes that I cannot do for you as you have to adapt your script locally, I cannot help you any further.

And @MotleyG is right: I am just a plain user and participant in this forum, no MP3tag developer. So I learned to write export scripts just like you would have to.  
If you cannot adapt the script, then it would be time to think about an alternative to the Excel export.  
In some other thread I asked you:

> [@Export tags to Excel](https://community.mp3tag.de/t/export-tags-to-excel/59659/7):
>
> And finally, what is the purpose of all this?  
> I do not really see a lot of functions where Excel is better than MP3tag to manipulate tag data, on the contrary, I think there are a lot of functions in MP3tag that excel cannot offer.

so perhaps a closer look at the other MP3tag functions could avoid the problem with the export script.

---

_[View the full topic](https://community.mp3tag.de/t/exporting-to-excel-part-2/62647)._
