Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need to know how to insert spaces at given positions in a string.
There are 27 characters (positions) and it would go as follows; 111223333334445566666666666 Changed to; 111 22 333333 444 55 Dim tmpName2 As String tmpName2 = Left(ActiveWorkbook.Name, Len(ActiveWorkbook.Name) - 11) The first statements removes the last 11 characters and leaves 1112233333344455 What I need is the syntax to insert the spaces in the name at position 4, 7 14 and 18. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I insert spaces between characters | Excel Discussion (Misc queries) | |||
Insert spaces in text string in Excel | Excel Discussion (Misc queries) | |||
How can I insert 2 spaces at the beginning of each of 1300 cells? | Excel Discussion (Misc queries) | |||
Insert spaces in String of Numbers | Excel Worksheet Functions | |||
How do I take two columns of sequential numbers and insert spaces | Excel Discussion (Misc queries) |