Rhodie72
Well-known Member
- Joined
- Apr 18, 2016
- Messages
- 633
- Office Version
- 365
- 2021
- 2019
- 2016
- 2013
- 2010
- 2007
- 2003 or older
- Platform
- Windows
- Mobile
I have data that is encoded in utf-8 that appears as webdings but cannot be read. It is english text for sample payslips. The copied data looks like this:
What it actually says is:
DIAMOND BUS LIMITED
What I would like to do is translate it into legible latin text using VBA as the Excel UTF-8 import does NOT correctly do the job at all. I know for a fact a solution to this will help thousands of people globally.
Whilst Excel can convert the orignal text into binary numbers, it is simply a mathematical case of replacing the UTF-8 characters with Latin charaters from standard code pages
My idea is to convert all the characters into binary
i BEGAN A TABLE FOR TRANSLATION BUT vba IS THE WAY FORWARD. Here's what I have done so far:
Putting the resultant info into a dynamic array and then converting the resultant into letters would be excellent.
Please help?
In Excel it looks like this:
What it actually says is:
DIAMOND BUS LIMITED
What I would like to do is translate it into legible latin text using VBA as the Excel UTF-8 import does NOT correctly do the job at all. I know for a fact a solution to this will help thousands of people globally.
Whilst Excel can convert the orignal text into binary numbers, it is simply a mathematical case of replacing the UTF-8 characters with Latin charaters from standard code pages
My idea is to convert all the characters into binary
i BEGAN A TABLE FOR TRANSLATION BUT vba IS THE WAY FORWARD. Here's what I have done so far:
Excel Formula:
Sub Translate()
For i = 1 To Len(ActiveCell.Value)
answer = Application.WorksheetFunction.Unicode(Mid(ActiveCell.Value, i, 1))
MsgBox answer
Next i
End Sub
Putting the resultant info into a dynamic array and then converting the resultant into letters would be excellent.
Please help?
In Excel it looks like this: