I have a table with 3 columns, whose fields I show below:
The [Process_Number] Column, has the Format "P000000000", so the Values entered are numeric, see below:
The problem is that the formula doesn't show the visible values resulting from concatenation, as shown Below:
As it is not possible to obtain the desired values using the formula, I would like to update the [Folder_Name] column using VBA. For example:
Since the active cell is row 4 (of the sheet), how can I write the desired value "1234 - P000000001" in the [Folder_Name] column, of the table via VBA?
Many thanks
Contas_DO_Abertura.xlsx | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
1 | |||||||
2 | |||||||
3 | Customer_ID | Process_Number | Folder_Name | ||||
4 | 1234 | P000000001 | 1234 - 1 | ||||
5 | 5678 | P000000002 | 5678 - 2 | ||||
6 | |||||||
7 | |||||||
Sheet4 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
D4:D5 | D4 | =[@[Customer_ID]]&" - "&[@[Process_Number]] |
The [Process_Number] Column, has the Format "P000000000", so the Values entered are numeric, see below:
- In Row 1 of the table - row 4 of the sheet - the Value in the cell is (1).
- In Row 2 of the table - row 5 of the sheet - the Value in the cell is (2).
The problem is that the formula doesn't show the visible values resulting from concatenation, as shown Below:
Customer_ID | Process_Number | Folder_Name |
1234 | P000000001 | 1234 - P000000001 |
5678 | P000000002 | 5678 - P000000002 |
As it is not possible to obtain the desired values using the formula, I would like to update the [Folder_Name] column using VBA. For example:
Since the active cell is row 4 (of the sheet), how can I write the desired value "1234 - P000000001" in the [Folder_Name] column, of the table via VBA?
Many thanks