// Set col(1)'s short name in active sheet as "Time"
wks.col1.name$ = Time;
But this code doesn't work for me. Can I change the column's short name? How do I access to column by its short name instead of its serial number, for example wks.col1. or col(1)?
You have to turn off SCN (Spreadsheet Cell Notation), so
page.xlcolname=0;
wks.col1.name$=Time;
Once you turn SCN off, you won't be able to use such notation in formula, so better just use long name?
wks.col1.lname$=Time;
CP
Got it!
I will continue working in SCN-on mode. How do I access to column by its short name instead of its serial number, for example wks.col1. or col(1)? Can I call something like wks.col(A) or wks.col("A")?