Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks in advance for any help.
I have the following code. Dim AA As Integer Dim bb Dim cc Dim ee AA = ActiveCell.Offset(0, 1) bb = ActiveCell.Offset(0, -3) cc = ActiveCell.Offset(1, -3) ee = " " ActiveCell = AA & ee & bb & ee & cc AA is the employee ID. bb and cc are first and last names. I am trying to join the three into one cell. If the employee ID is 123 I want it to appear as 00123 in the newly formed string. Currently it appears as "123 Joe Smith" I want it to be "00123 Joe Smith" Does anyone know how to fix this? I am using Excel 2000. Thanks again. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Assigning a number value to strings | Excel Worksheet Functions | |||
How to find number of pairs of strings from list of strings? | Excel Worksheet Functions | |||
Formatting Odd Number Strings | Excel Discussion (Misc queries) | |||
splitting number strings in excel | Excel Worksheet Functions | |||
need to remove zero while joining two strings | Excel Programming |