+ Reply to Thread
Results 1 to 2 of 2

CP-1252 to UTF8 convert within open word doc via VBA

  1. #1
    Registered User
    Join Date
    01-10-2023
    Location
    Indonesia
    MS-Off Ver
    GoogleSheets Mobile
    Posts
    21

    CP-1252 to UTF8 convert within open word doc via VBA

    Hi, I'm looking for a simple way to convert weirdly coded displayed characters (e.g. ä, ü, ...) to proper displayed ones (?, ?, ...) within an opened word document.
    My first guess was to make a macro with each character through the replacement function. But that would become a rather long list of characters for which to write out each replacement + would need to know which character is weirdly-code how (is there an overview list for this?). I would prefer a simpler and shorter version if that is possible?
    Thank you for any help

  2. #2
    Forum Contributor
    Join Date
    10-30-2019
    Location
    Bistrita, Romania
    MS-Off Ver
    2019; 365
    Posts
    231

    Re: CP-1252 to UTF8 convert within open word doc via VBA

    Can you upload a sample file?
    How much is a "rather long list of characters"?
    To show your appreciation
    Click ★ Add reputation!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. convert all textfiles in current folder from UTF8 to ANSI
    By adamasmay in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-28-2022, 08:03 AM
  2. Recursive search for word doc. Open if found Else open different word doc.
    By Travis M. in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-09-2016, 12:37 PM
  3. utf-8 -> windows-1252 -> utf8 conversion in VBA
    By JasperD in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-28-2016, 07:34 AM
  4. Open Word docm from Excel: Test if already open? Word errors?
    By brucemc777 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-21-2014, 01:02 PM
  5. Replies: 8
    Last Post: 06-16-2011, 11:49 AM
  6. Macro to open word doc, then open another file in word and then excute a find replace
    By Uber-Smee in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-29-2010, 09:43 AM
  7. [SOLVED] How can I transfer a Utf8 file from word to excel?
    By Shawn in forum Excel General
    Replies: 0
    Last Post: 05-20-2005, 10:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1