+ Reply to Thread
Results 1 to 7 of 7

Insert a space in front of all upper case text

  1. #1
    Registered User
    Join Date
    09-05-2012
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    3

    Insert a space in front of all upper case text

    I need a formula the will modify each cell in a column by inserting a space in front of each upper case letter. Example "HighMotorCurrentOverload" needs to be "High Motor Current Overload"

  2. #2
    Registered User
    Join Date
    08-13-2012
    Location
    Newark, DE
    MS-Off Ver
    Excel 2010
    Posts
    46

    Re: Insert a space in front of all upper case text

    Welcome to the board. Let me know if this UDF works for you. I have also included instructions below on how to install the function.

    Please Login or Register  to view this content.
    ===============
    How to install the User Defined Function:
    1. Open up your workbook
    2. Get into VB Editor (Press Alt+F11)
    3. Insert a new module (Insert > Module)
    4. Copy and Paste in your code (given above)
    5. Get out of VBA (Press Alt+Q)
    6. Save as a macro-enabled workbook

    The function is installed and ready to use.
    Last edited by Al Chara; 09-05-2012 at 09:18 PM.
    http://www.mrspreadsheets.com

  3. #3
    Registered User
    Join Date
    09-05-2012
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Insert a space in front of all upper case text

    Al Chara,
    I have your function installed as you described. It is working good well.
    Thank You...
    Last edited by excelrod; 09-06-2012 at 11:31 AM.

  4. #4
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Insert a space in front of all upper case text

    Quote Originally Posted by excelrod View Post
    Under macro security all macros are enabled.
    very bad idea... "Disable all macros with notifications" is preferable...
    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

  5. #5
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Insert a space in front of all upper case text

    It works for me. How did you try using it?
    HTH
    Regards, Jeff

  6. #6
    Registered User
    Join Date
    09-05-2012
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Insert a space in front of all upper case text

    Jeff,
    The truth is that I jumped the gun.. It is working well.

  7. #7
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Insert a space in front of all upper case text

    No worries just glad you have what you need.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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