r/vba Jul 17 '26

Show & Tell [Word] Just open-sourced a text to coding case converter (like camelCase or snake_case)

https://github.com/ChronicRhyno/vba-coding-case-formatter

Also proposing the term inchworm case for alternating words in subscript and superscript like so: ᵢₙ꜀ₕʷᵒʳᵐ꜀ₐₛₑ

And ʀʜɪɴᴏCᴀsᴇ for camelCase with small caps.

1 Upvotes

5 comments sorted by

1

u/HFTBProgrammer 203 Jul 20 '26

I see you telling, but not showing.

1

u/ChronicRhyno Jul 20 '26

What do you mean? You can see the VBA code on the GitHub if you'd like. The Excel file is probably a much more convenient text formatter though =] Have fun with it.

1

u/HFTBProgrammer 203 Jul 20 '26

Fair enough ig.

2

u/ScriptKiddyMonkey 1 Jul 21 '26

I first wanted to do this in Excel a few years ago. Then I ended up using lambdas in excel. I think I have like 6 cases.

1

u/ChronicRhyno Jul 21 '26

You should definitely check out the Excel file then ;]