Hi
I want to insert 10 column with some same format some different,
so i have add a array of string
arrCol={“A1;Name;Total Fruits;NoFormat”,“B1;Mango;Total Fruits;NoFormat”,“C1;Apple;Total Fruits;NoFormat”,“O1;PineApple;Total Fruits;Date”,“P1;Total
Amt;Value;Currency”,“Q1;Broccoli;Total Fruits;NoFormat”,“R1;Tomato;Total Fruits;NoFormat”,“S1;Carrot;Total Fruits;NoFormat”,“T1;Beets;Total Fruits;NoFormat”}
with A1- insert column at
Name- Column Name
Total Fruits - Column Before
NoFormat - Format if any
I have split the array with “;” as dividers
However the Insert column is not working
here is the snap of insert column
Anil_G
(Anil Gorthi)
May 2, 2024, 5:41pm
2
@quick_123
If it has headers then you need to check that box which says has headers
Cheers
I tried with Headers checked,Still didn’t work
Anil_G
(Anil Gorthi)
May 2, 2024, 5:49pm
4
@quick_123
When you say did not work…did it throw error? If so what is it?
Can you show the file here
Cheers
test.xlsx (17.5 KB)
Sample excel
Anil_G
(Anil Gorthi)
May 2, 2024, 6:07pm
6
@quick_123
did a test and working as expected
can you check the name of the column may be it is passed wrong
cheers
but when have to insert multiple column
arrCol={“A1;Name;Total Fruits;NoFormat”,“B1;Mango;Total Fruits;NoFormat”,“C1;Apple;Total Fruits;NoFormat”,“O1;PineApple;Total Fruits;Date”,“P1;Total
Amt;Value;Currency”,“Q1;Broccoli;Total Fruits;NoFormat”,“R1;Tomato;Total Fruits;NoFormat”,“S1;Carrot;Total Fruits;NoFormat”,“T1;Beets;Total Fruits;NoFormat”}
it is not working
Anil_G
(Anil Gorthi)
May 2, 2024, 7:53pm
8
@quick_123
Print the values you are trying to use a then see if it is matching or not
Cheers