Hi everyone. here my problem: I want to write a script, that selects every second column (starting with the third in the worksheet), inserts a new column behind every selected one and sets this new columns as Z. so far i only have a script selecting every second column starting with the third one.
toggle = 0; for (ii = 3; ii <= wks.ncols;ii ++) { if (toggle == 0) wks.ColSel(ii,1); toggle = 1-toggle;
};
if i type a command after colsel to insert a new column origin wont do it, or actually breaks down. i hope someone can help me. thanks to all