October 9, 2024 at 3:57 pm #29964
Keymaster
To turn off CSV “read only in column headings” in a macro, you can run this macro.
nID = 3900;
nStatus = editor.QueryStatusByID( nID );
if( nStatus & eeStatusEnabled ) {
bAlreadyOn = ( nStatus & eeStatusLatched );
// turn off the Read Only in Column Headings
if( bAlreadyOn ) {
editor.ExecuteCommandByID(nID);
}
// turn on the Read Only in Column Headings
//if( !bAlreadyOn ) {
// editor.ExecuteCommandByID(nID);
//}
}
To turn it on, please uncomment the last 3 lines.