1

I have list of students and i want to invert the "Name Surname" format to "Surname Name".

My problem isn't the coding, but it's the UTF-8 support for my language.

I tested the macro with looping through the names and displaying them in a msgBox, but i get question marks for every name.

Anyone else had problems with UTF-8 in Excel Macros?

1 Answer 1

2

UTF-8 and Unicode mean different things, so it's hard to understand what you're asking for.

In principle, VBA uses 2-byte unicode (UCS-2) internally. This is not the same as UTF-8 which many external programs expect.

The StrConv() built-in function can convert back and forth.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.