#29964
Yutaka Emura
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.