Microsoft
Software
Hardware
Network
Question : Excel Username Macro
Hello,
Could someone please help me out with a macro for Excel 2007. I have trying to combine a few columns to create a username (please see attached excel file).
The username would need to be the first four letters of the first name, first letter of the last name, birth month ""2digit"", birth day ""2digit"")"
Example:
First Name: William
Last Name: Smith
Birth Date: 3/20/2001
Username: WILLS0320
Thanks
Randy
Attachments:
UsernameMacro.xls
(20 KB)
(File Type Details)
Excel Username File
Answer : Excel Username Macro
You can try this formula
=LEFT(A2,4)&LEFT(B2,1)&RIG
HT(100+MON
TH(C2),2)&
RIGHT(DAY(
C2)+100,2)
Assuming the names will always provide at least 4 chars.
Random Solutions
importing mdb into sql server 2008 with vb6
Navigate to the page of a specific item on a gridview
writing lines to htaccess file
excel string functions
Dialog.ModalityType.APPLIC
ATION_MODA
L
Inserting data into a varbinary(max) field
A Perl Script to get windows server information
Do WPF and MVP go together?
The marquee progressbar hangs as the next line of the code executes
How deploy a website shortcut to 200 users desktop