Jan,
I recorded the following code to add the column (although there seems to be
an awful lot more than I think I need, I didn't delete anything, just in case)
Sub TopLevelFolderColumnUnhide() 'Control+L
SelectTaskColumn Column:="Work"
TableEdit Name:="&Entry", TaskTable:=True, _
NewName:="", FieldName:="", NewFieldName:="TLF", Title:="", _
Width:=30, Align:=2, ShowInMenu:=True, LockFirstColumn:=True,
DateFormat:=255, _
RowHeight:=1, ColumnPosition:=3, AlignTitle:=1
TableApply Name:="&Entry"
End Sub
By the way, did you see my other post in this thread about determining
whether a column is visible or not? Obviously, I don't want my show code to
display the column if it's already displayed! In response to your other
question, I created a new text field and it works perectly. I tried renaming
the "faulty" Text2 column, but nothing I do allows me to select it in order
to hide it. Corruption, maybe?
Once again, thanks for your interest and advice.
Pete