Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-28-2024, 03:34 AM
MartinGM MartinGM is offline Mystery with ASCII characters Windows 11 Mystery with ASCII characters Office 2021
Competent Performer
Mystery with ASCII characters
 
Join Date: May 2023
Location: England
Posts: 108
MartinGM is on a distinguished road
Default Mystery with ASCII characters


This is doing my head in ! A have a worksheet whose font is entirely Arial Narrow.

I wanted to create a "block" character in a cell so I went to Symbols and inserted the one I wanted. Then I read it in VBA to see what its ASCII number was - it is character 166 and looks like this: █

But when I use VBA to write character 166 in another cell it shows up as this: ¦

So now I have two cells with the same font and the above two different symbols in them - and when I read their ASCII character numbers using VBA they both show 166.

How can this be ?

PS If I read the value of the █ cell into VBA then write that to the target cell it shows up as █, as it should.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mystery with ASCII characters Open (import) ascii text files smithurmann Word 3 10-07-2021 11:02 AM
Mystery with ASCII characters ASCII or Unicode Latin-based characters without a keypad jessesgirll Word 3 05-28-2016 03:46 AM
Mystery with ASCII characters Naming files in folder, DOS vs Windows Explorer ASCII sequence equalizer88 Word VBA 2 08-12-2015 03:29 PM
Strange Characters appear when selecting SHOW ALL NON PRINTING CHARACTERS ann Amber Word 1 08-01-2015 08:06 PM
Mystery with ASCII characters Ascii charcter Jimbir Word 3 04-12-2015 07:50 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:17 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