Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-13-2014, 02:23 PM
macropod's Avatar
macropod macropod is offline Function to retrieve high value Unicode Windows 7 64bit Function to retrieve high value Unicode Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,514
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Perhaps this is what you're after:


Code:
Sub GetSymbolAttributes()
Dim SelFont, SelCharNum
With Selection
  With Dialogs(wdDialogInsertSymbol)
    SelFont = .Font
    SelCharNum = .CharNum
  End With
End With
MsgBox SelFont & vbTab & SelCharNum
End Sub
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #2  
Old 12-14-2014, 02:54 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 Paul,

unfortunately this 'old' mvp piece of code does not work for high value Unicode characters.

Insert a Symbol: Segoe UI Symbol > Extended Characters - Plane 1 > e.g. smily character code "1F60F". Then run the code and you will get "(normal text)" as Font.Name and a a negative number which cannot be used for further processing.

Any other idea ?
NP
Reply With Quote
Reply

Thread Tools
Display Modes


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 10:05 AM.


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