error 1005

can you tell me why I'm getting an history commit error 1005 using vba OnDesignFileClosed