+ Reply to Thread
Results 1 to 4 of 4

Anyone know the vba code for a 1/4 em space character

  1. #1
    Registered User
    Join Date
    02-02-2022
    Location
    Vegas
    MS-Off Ver
    Office 365
    Posts
    51

    Anyone know the vba code for a 1/4 em space character

    I’m trying to write a code that will displace text with expanded spacing.

    It seems excel doesn?t support expanded spacing but I think I can add a 1/4 em space between characters to achieve the same effect. I just don?t know what the code is or if it exists. Any help would be appreciated.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,582

    Re: Anyone know the vba code for a 1/4 em space character

    Can't play at the moment but see if these links help

    https://jkorpela.fi/chars/spaces.html
    http://dailydoseofexcel.com/archives...scw-functions/
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    02-02-2022
    Location
    Vegas
    MS-Off Ver
    Office 365
    Posts
    51

    Re: Anyone know the vba code for a 1/4 em space character

    TMS, I feel like you've helped me before on a variety of issues. As always, I appreciate your help.

    Between both of these articles, I was able to find my solution. So many different options for spacing sizes. This was a great source of help.

    I ending up using the code ChrW(&H2000) to find the space I desired. Thank you.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,582

    Re: Anyone know the vba code for a 1/4 em space character

    You're welcome. Thanks for the rep.

+ 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. [SOLVED] Replace space character with tab character
    By thornton1 in forum Excel General
    Replies: 5
    Last Post: 08-12-2022, 08:57 AM
  2. [SOLVED] Space after every character
    By Hina. in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-17-2021, 02:14 PM
  3. Replies: 3
    Last Post: 11-13-2018, 02:47 AM
  4. How to remove space after a particular character
    By sugaprasad in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 02-20-2015, 05:02 AM
  5. [SOLVED] Need to add space after every 4th Character
    By yus786 in forum Excel General
    Replies: 10
    Last Post: 04-04-2012, 06:08 AM
  6. Adding a space after a hex character
    By jaango123 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-12-2011, 05:34 AM
  7. [SOLVED] How to count character and space?
    By Rocky Lam in forum Excel General
    Replies: 4
    Last Post: 01-08-2005, 09:07 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