Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-14-2014, 07:31 AM
gmaxey gmaxey is offline Function to retrieve high value Unicode Windows 7 32bit Function to retrieve high value Unicode Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,617
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

Admittingly simplistic and perhaps crude, but this might get you what you need:



Code:
Sub ScratchMacro()
'A basic Word macro coded by Greg Maxey
Dim strCode As String
Selection.ToggleCharacterCode
strCode = Selection.Text
Selection.ToggleCharacterCode
MsgBox strCode
End Sub
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
  #2  
Old 12-14-2014, 07:48 AM
NobodysPerfect NobodysPerfect is offline Function to retrieve high value Unicode Windows 8 Function to retrieve high value Unicode Office 2010 32bit
Competent Performer
Function to retrieve high value Unicode
 
Join Date: Jan 2014
Location: Germany
Posts: 136
NobodysPerfect is on a distinguished road
Default

Hi,

That's exactly what I'm doing right now (see OP), but I hate code using Selection . Unfortunately ToggleCharacterCode only works with Selection.

NP
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Function to retrieve high value Unicode Save Word doc in unicode html (utf-8) rybrns Word 5 09-26-2011 02:18 PM
ANSI-ost to unicode-ost jeff13 Outlook 0 01-07-2010 11:48 AM
Unicode Big endian support Rose44 Excel 0 09-04-2009 11:59 PM
Function to retrieve high value Unicode Unicode Encoding Type Rose44 Excel 2 08-09-2009 09:05 PM
Unicode problem in Subject list salanalani Outlook 0 01-20-2006 12:48 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:38 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft