Hi all,
I would like to rename the strings in a particular column with fixed header .
I use this part of code vba to find the header:
how do I rename strings in the column that I found?
For example if in this column there is this string: "2011-E-06/03.00004.00011" after macro must match "Ancona", and so on for all the string.
In this column there are many different string to rename; each code corresponds to a string.
Thanks.
I would like to rename the strings in a particular column with fixed header .
I use this part of code vba to find the header:
Code:
Sub IMPORTA_COL_CU_fascicolo()
Header = "doc/storia/in_fascicolo/@codice"
With Sheets(2)
numcols = .UsedRange.Columns.Count
numrows = .UsedRange.rows.Count
For c = 1 To numcols
If .Cells(1, c) = Header Then
how do I rename strings in the column that I found?
For example if in this column there is this string: "2011-E-06/03.00004.00011" after macro must match "Ancona", and so on for all the string.
In this column there are many different string to rename; each code corresponds to a string.
Thanks.