ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Displaying a single character. (https://www.excelbanter.com/excel-programming/434982-re-displaying-single-character.html)

JLGWhiz[_2_]

Displaying a single character.
 
If the name is in Range("A1") then:

Sub dk()
MsgBox Left(Trim(Range("A1").Value), 1)
End Sub


<Mike Olds wrote in message
,us...
Is there a way in Excel to display only the first letter of a name? What I
wish to do is to use concatenate to merge last name and first name, but I
wish to display only the 1st character of the first name.

EggHeadCafe - Software Developer Portal of Choice
Excel Reports in ASP.NET 2.0
http://www.eggheadcafe.com/tutorials...in-aspnet.aspx





All times are GMT +1. The time now is 02:53 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com