Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Ok, two quick questions.
I'm going to read in data from, let's say cells(9,3).Value where row 9 col 3 contains a customer number that looks like this 1234567ABC Hovever, the actual customer number I need for everyday use looks like this 01234567 I've declared my variable like this dim ColumnC As String First, I have to truncate that value to just the numbers 1234567 That's my first question. How do I do that? Second, I need to add the Zero on the front. I think I do would do it like this: ColumnC = "0" + ColumnC Is that right? And, can I do both steps in one function? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
PivotTable template is truncating data | Excel Discussion (Misc queries) | |||
Linked cell truncating data | Excel Discussion (Misc queries) | |||
Truncating data in drop down list | Excel Worksheet Functions | |||
truncating data within a cell for an entire column | New Users to Excel | |||
Exported File truncating cell data after 255 characters | Excel Discussion (Misc queries) |